use of com.bluepowermod.client.gui.GuiCircuitTable in project BluePower by Qmunity.
the class ContainerCircuitTable method updateProgressBar.
@Override
@SideOnly(Side.CLIENT)
public void updateProgressBar(int p_75137_1_, int p_75137_2_) {
circuitTable.slotsScrolled = p_75137_2_;
GuiScreen gui = Minecraft.getMinecraft().currentScreen;
if (gui instanceof GuiCircuitTable) {
((GuiCircuitTable) gui).updateScrollbar(circuitTable.slotsScrolled);
}
}
Aggregations