• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyclopsMC / IntegratedDynamics / 16552051255

27 Jul 2025 01:58PM UTC coverage: 53.206% (+8.0%) from 45.161%
16552051255

push

github

rubensworks
Resolve minor TODOs

2888 of 8740 branches covered (33.04%)

Branch coverage included in aggregate %.

17341 of 29280 relevant lines covered (59.22%)

3.08 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/org/cyclops/integrateddynamics/client/gui/container/ContainerScreenVariablestore.java
1
package org.cyclops.integrateddynamics.client.gui.container;
2

3
import net.minecraft.client.gui.GuiGraphics;
4
import net.minecraft.client.renderer.RenderPipelines;
5
import net.minecraft.network.chat.Component;
6
import net.minecraft.resources.ResourceLocation;
7
import net.minecraft.util.ARGB;
8
import net.minecraft.world.entity.player.Inventory;
9
import org.cyclops.cyclopscore.client.gui.container.ContainerScreenExtended;
10
import org.cyclops.integrateddynamics.blockentity.BlockEntityVariablestore;
11
import org.cyclops.integrateddynamics.inventory.container.ContainerVariablestore;
12

13
/**
14
 * Gui for the variablestore
15
 * @author rubensworks
16
 */
17
public class ContainerScreenVariablestore extends ContainerScreenExtended<ContainerVariablestore> {
18

19
    public ContainerScreenVariablestore(ContainerVariablestore container, Inventory inventory, Component title) {
20
        super(container, inventory, title);
×
21
    }
×
22

23
    @Override
24
    protected ResourceLocation constructGuiTexture() {
25
        return ResourceLocation.parse("textures/gui/container/generic_54.png");
×
26
    }
27

28
    @Override
29
    protected int getBaseYSize() {
30
        return BlockEntityVariablestore.ROWS * 18 + 17 + 96;
×
31
    }
32

33
    @Override
34
    protected void renderBg(GuiGraphics guiGraphics, float partialTicks, int mouseX, int mouseY) {
35
        guiGraphics.blit(RenderPipelines.GUI_TEXTURED, texture, leftPos + offsetX, topPos + offsetY, 0, 0, this.imageWidth, BlockEntityVariablestore.ROWS * 18 + 17, 256, 256);
×
36
        guiGraphics.blit(RenderPipelines.GUI_TEXTURED, texture, leftPos + offsetX, topPos + offsetY + BlockEntityVariablestore.ROWS * 18 + 17, 0, 126, this.imageWidth, 96, 256, 256);
×
37
    }
×
38

39
    @Override
40
    protected void renderLabels(GuiGraphics guiGraphics, int x, int y) {
41
        // super.drawGuiContainerForegroundLayer(matrixStack, x, y);
42
        guiGraphics.drawString(font, this.title, this.titleLabelX, this.titleLabelY, ARGB.opaque(4210752), false);
×
43
    }
×
44
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc