mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Getting rid of NewContainerGui
This commit is contained in:
1 parent
a0a9e222a3
commit
6d4738d2b7
5 files changed
+81
-1038
No files matched your search
@@ -25,7 +25,7 @@ public class PartCrafterChestContainer extends ActiveContainer
|
||||
patternLogic = pLogic;
|
||||
largeInventory = true;
|
||||
|
||||
inventory = new Slot[] { new SlotPattern(partLogic, 0, 40, 27), new SlotPattern(partLogic, 1, 40, 45), new Slot(partLogic, 2, 58, 27), new Slot(partLogic, 3, 58, 45), new SlotOnlyTake(partLogic, 4, 102, 27), new SlotOnlyTake(partLogic, 5, 120, 27), new SlotOnlyTake(partLogic, 6, 102, 45), new SlotOnlyTake(partLogic, 7, 120, 45) };
|
||||
inventory = new Slot[] { new SlotPattern(partLogic, 0, 162, 27), new SlotPattern(partLogic, 1, 162, 45), new Slot(partLogic, 2, 180, 27), new Slot(partLogic, 3, 180, 45), new SlotOnlyTake(partLogic, 4, 224, 27), new SlotOnlyTake(partLogic, 5, 242, 27), new SlotOnlyTake(partLogic, 6, 224, 45), new SlotOnlyTake(partLogic, 7, 242, 45) };
|
||||
for (int iter = 0; iter < inventory.length; iter++)
|
||||
this.addSlotToContainer(inventory[iter]);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class PartCrafterChestContainer extends ActiveContainer
|
||||
{
|
||||
for (int row = 0; row < 6; row++)
|
||||
{
|
||||
this.addSlotToContainer(new SlotPattern(pLogic, row + column * 6, -108 + row * 18, 30 + column * 18));
|
||||
this.addSlotToContainer(new SlotPattern(pLogic, row + column * 6, 14 + row * 18, 30 + column * 18));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -43,13 +43,13 @@ public class PartCrafterChestContainer extends ActiveContainer
|
||||
{
|
||||
for (int row = 0; row < 9; row++)
|
||||
{
|
||||
this.addSlotToContainer(new Slot(inventoryplayer, row + column * 9 + 9, 8 + row * 18, 84 + column * 18));
|
||||
this.addSlotToContainer(new Slot(inventoryplayer, row + column * 9 + 9, 130 + row * 18, 84 + column * 18));
|
||||
}
|
||||
}
|
||||
|
||||
for (int column = 0; column < 9; column++)
|
||||
{
|
||||
this.addSlotToContainer(new Slot(inventoryplayer, column, 8 + column * 18, 142));
|
||||
this.addSlotToContainer(new Slot(inventoryplayer, column, 130 + column * 18, 142));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user