updates to the aesu gui

This commit is contained in:
modmuss50 2015-09-05 21:09:37 +01:00
parent adf6c95331
commit e02b1518d2
4 changed files with 12 additions and 12 deletions

View file

@ -28,21 +28,21 @@ public class ContainerAesu extends TechRebornContainer {
this.player = player;
// input
this.addSlotToContainer(new Slot(tileaesu.inventory, 0, 116, 23));
this.addSlotToContainer(new Slot(tileaesu.inventory, 1, 116, 59));
//this.addSlotToContainer(new Slot(tileaesu.inventory, 0, 116, 23));
// this.addSlotToContainer(new Slot(tileaesu.inventory, 1, 116, 59));
int i;
for (i = 0; i < 3; ++i) {
for (int j = 0; j < 9; ++j) {
this.addSlotToContainer(new Slot(player.inventory, j + i * 9
+ 9, 7 + j * 16, 84 + i * 18 + 30));
+ 9, 8 + j * 18, 84 + i * 18));
}
}
for (i = 0; i < 9; ++i) {
this.addSlotToContainer(new Slot(player.inventory, i, 7 + i * 16,
142 + 30));
this.addSlotToContainer(new Slot(player.inventory, i, 8 + i * 18,
142));
}
}

View file

@ -24,8 +24,8 @@ public class GuiAesu extends GuiContainer {
public GuiAesu(EntityPlayer player,
TileAesu tileaesu) {
super(new ContainerAesu(tileaesu, player));
this.xSize = 156;
this.ySize = 200;
this.xSize = 176;
this.ySize = 165;
aesu = tileaesu;
this.containerAesu = (ContainerAesu) this.inventorySlots;
}
@ -36,10 +36,10 @@ public class GuiAesu extends GuiContainer {
this.buttonList.clear();
int k = (this.width - this.xSize) / 2;
int l = (this.height - this.ySize) / 2;
this.buttonList.add(new GuiButton(0, k + 96, l + 8, 18, 20, "++"));
this.buttonList.add(new GuiButton(1, k + 96, l + 8 + 22, 18, 20, "+"));
this.buttonList.add(new GuiButton(2, k + 96, l + 8 + (22 * 2), 18, 20, "-"));
this.buttonList.add(new GuiButton(3, k + 96, l + 8 + (22 * 3), 18, 20, "--"));
this.buttonList.add(new GuiButton(0, k + 128, l + 5, 20, 20, "++"));
this.buttonList.add(new GuiButton(1, k + 128, l + 5 + 22, 20, 20, "+"));
this.buttonList.add(new GuiButton(2, k + 128, l + 5 + (22 * 2), 20, 20, "-"));
this.buttonList.add(new GuiButton(3, k + 128, l + 5 + (22 * 3), 20, 20, "--"));
}
@Override

View file

@ -43,9 +43,9 @@ public class CompatManager {
}
} else if(obj instanceof Boolean){
if(!(Boolean)obj){
}
return;
}
}
}
try {
compatModules.add((ICompatModule) moduleClass.newInstance());

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 17 KiB