mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
22 lines
647 B
Java
22 lines
647 B
Java
package com.hbm.inventory.container;
|
|
|
|
import com.hbm.tileentity.machine.storage.TileEntityCrateIron;
|
|
|
|
import net.minecraft.entity.player.InventoryPlayer;
|
|
import net.minecraft.inventory.Slot;
|
|
|
|
@invtweaks.api.container.ChestContainer(rowSize = 9, isLargeChest = false)
|
|
public class ContainerCrateIron extends ContainerCrateBase {
|
|
|
|
public ContainerCrateIron(InventoryPlayer invPlayer, TileEntityCrateIron tedf) {
|
|
super(invPlayer,tedf);
|
|
|
|
for(int i = 0; i < 4; i++) {
|
|
for(int j = 0; j < 9; j++) {
|
|
this.addSlotToContainer(new Slot(tedf, j + i * 9, 8 + j * 18, 18 + i * 18));
|
|
}
|
|
}
|
|
this.playerInv(invPlayer, 8, 84 + 20, 142 + 20);
|
|
}
|
|
}
|