mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Revert "Changes to GUI's for more flexibility & consistancy"
This reverts commit 61406c2b2d.
This commit is contained in:
1 parent
2cbcaf0a3b
commit
c839ce5697
33 files changed
+297
-308
No files matched your search
+6
-6
@@ -21,10 +21,10 @@ public class ContainerAdvancedElectricMachine extends Container
|
||||
public ContainerAdvancedElectricMachine(InventoryPlayer inventory, TileEntityAdvancedElectricMachine tentity)
|
||||
{
|
||||
tileEntity = tentity;
|
||||
addSlotToContainer(new Slot(tentity, 0, 40, 21));
|
||||
addSlotToContainer(new Slot(tentity, 1, 40, 57));
|
||||
addSlotToContainer(new SlotOutput(tentity, 2, 116, 39));
|
||||
addSlotToContainer(new SlotDischarge(tentity, 3, 14, 72));
|
||||
addSlotToContainer(new Slot(tentity, 0, 56, 17));
|
||||
addSlotToContainer(new Slot(tentity, 1, 56, 53));
|
||||
addSlotToContainer(new SlotOutput(tentity, 2, 116, 35));
|
||||
addSlotToContainer(new SlotDischarge(tentity, 3, 31, 35));
|
||||
|
||||
int slotY;
|
||||
|
||||
@@ -32,13 +32,13 @@ public class ContainerAdvancedElectricMachine extends Container
|
||||
{
|
||||
for(int slotX = 0; slotX < 9; slotX++)
|
||||
{
|
||||
addSlotToContainer(new Slot(inventory, slotX + slotY * 9 + 9, 8 + slotX * 18, 104 + slotY * 18));
|
||||
addSlotToContainer(new Slot(inventory, slotX + slotY * 9 + 9, 8 + slotX * 18, 84 + slotY * 18));
|
||||
}
|
||||
}
|
||||
|
||||
for(slotY = 0; slotY < 9; slotY++)
|
||||
{
|
||||
addSlotToContainer(new Slot(inventory, slotY, 8 + slotY * 18, 162));
|
||||
addSlotToContainer(new Slot(inventory, slotY, 8 + slotY * 18, 142));
|
||||
}
|
||||
|
||||
tileEntity.open(inventory.player);
|
||||
|
||||
Reference in new issue
Block a user