3334353637383940
for (int x = 0; x < 8; x++) addSlotToContainer( new SlotFake( myDuality.getConfig(), x, 17 + 18 * x, 35 ) ); for (int x = 0; x < 8; x++) addSlotToContainer( new SlotNormal( myDuality.getStorage(), x, 17 + 18 * x, 35 + 18 ) ); }
1920212223242526272829
for (int y = 0; y < 4; y++) { for (int x = 0; x < 9; x++) { addSlotToContainer( new SlotNormal( this.chest, y * 9 + x, 8 + 18 * x, 24 + 18 * y ) ); } } this.chest.openInventory();