Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ContainerConstructor(IInventory playerInv, IInventory tileEntity) {
- this.constructorInventory = playerInv;
- int i;
- int j;
- for(i = 0; i < 3; ++i) {
- for(j = 0; j < 3; ++j) {
- this.addSlotToContainer(new Slot(playerInv, j + i * 3, 62 + j * 18, 17 + i * 18));
- }
- }
- for(i = 0; i < 3; ++i) {
- for(j = 0; j < 9; ++j) {
- this.addSlotToContainer(new Slot(tileEntity, j + i * 9 + 9, 8 + j * 18, 84 + i * 18));
- }
- }
- for(i = 0; i < 9; ++i) {
- this.addSlotToContainer(new Slot(tileEntity, i, 8 + i * 18, 142));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement