mirror of
https://github.com/GTNewHorizons/DummyCore.git
synced 2026-11-21 12:42:09 +00:00
[2.0]Such code cleanup, much delitions
This commit is contained in:
1 parent
6169929e24
commit
76e22e5318
1 file changed
+3
-1
@@ -17,7 +17,7 @@ public class GuiCommon extends GuiContainer{
|
||||
public List<GuiElement> elementList = new ArrayList<GuiElement>();
|
||||
public TileEntity genericTile;
|
||||
public ResourceLocation guiGenLocation = new ResourceLocation("textures/gui/container/dispenser.png");
|
||||
public ResourceLocation slotLocation = new ResourceLocation("textures/gui/container/dispenser.png");;
|
||||
public ResourceLocation slotLocation = new ResourceLocation("textures/gui/container/dispenser.png");
|
||||
|
||||
public GuiCommon(Container c) {
|
||||
super(c);
|
||||
@@ -50,10 +50,12 @@ public class GuiCommon extends GuiContainer{
|
||||
element.draw(k+element.getX(),l+element.getY());
|
||||
GL11.glColor3f(1, 1, 1);
|
||||
}
|
||||
GL11.glColor3f(1, 1, 1);
|
||||
}
|
||||
|
||||
public void renderSlot(Slot slt)
|
||||
{
|
||||
GL11.glColor3f(1, 1, 1);
|
||||
int k = (this.width - this.xSize) / 2;
|
||||
int l = (this.height - this.ySize) / 2;
|
||||
this.mc.renderEngine.bindTexture(slotLocation);
|
||||
|
||||
Reference in new issue
Block a user