Prioritize Pattern Slots.
This commit is contained in:
@@ -19,15 +19,15 @@ public class ContainerInterface extends AEBaseContainer
|
|||||||
super( ip, te.getInterfaceDuality().getTile(), te.getInterfaceDuality().getPart() );
|
super( ip, te.getInterfaceDuality().getTile(), te.getInterfaceDuality().getPart() );
|
||||||
myte = te.getInterfaceDuality();
|
myte = te.getInterfaceDuality();
|
||||||
|
|
||||||
|
for (int x = 0; x < 9; x++)
|
||||||
|
addSlotToContainer( new SlotRestrictedInput( PlaceableItemType.ENCODED_PATTERN, myte.getPatterns(), x, 8 + 18 * x, 90 + 7 ) );
|
||||||
|
|
||||||
for (int x = 0; x < 8; x++)
|
for (int x = 0; x < 8; x++)
|
||||||
addSlotToContainer( new SlotFake( myte.getConfig(), x, 17 + 18 * x, 35 ) );
|
addSlotToContainer( new SlotFake( myte.getConfig(), x, 17 + 18 * x, 35 ) );
|
||||||
|
|
||||||
for (int x = 0; x < 8; x++)
|
for (int x = 0; x < 8; x++)
|
||||||
addSlotToContainer( new SlotNormal( myte.getStorage(), x, 17 + 18 * x, 35 + 18 ) );
|
addSlotToContainer( new SlotNormal( myte.getStorage(), x, 17 + 18 * x, 35 + 18 ) );
|
||||||
|
|
||||||
for (int x = 0; x < 9; x++)
|
|
||||||
addSlotToContainer( new SlotRestrictedInput( PlaceableItemType.ENCODED_PATTERN, myte.getPatterns(), x, 8 + 18 * x, 90 + 7 ) );
|
|
||||||
|
|
||||||
bindPlayerInventory( ip, 0, 211 - /* height of playerinventory */82 );
|
bindPlayerInventory( ip, 0, 211 - /* height of playerinventory */82 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user