public ContainerPrecipitator(InventoryPlayer inventory, TileEntity tile) { super(inventory, tile); myTile = (TilePrecipitator) tile; addSlotToContainer(new SlotRemoveOnly(myTile, 0, 134, 26)); addSlotToContainer(new SlotEnergy(myTile, myTile.getChargeSlot(), 8, 53)); /* Custom Inventory */ addSlotToContainer(new SlotCustomInventory(myTile, 0, null, 0, 89, 53, false)); }
public ContainerExtruder(InventoryPlayer inventory, TileEntity tile) { super(inventory, tile); myTile = (TileExtruder) tile; addSlotToContainer(new SlotRemoveOnly(myTile, 0, 134, 26)); addSlotToContainer(new SlotEnergy(myTile, myTile.getChargeSlot(), 8, 53)); /* Custom Inventory */ addSlotToContainer(new SlotCustomInventory(myTile, 0, null, 0, 89, 53, false)); }