Search in sources :

Example 6 with InventorySlot

use of crazypants.enderio.machines.machine.tank.InventorySlot in project EnderIO by SleepyTrousers.

the class ContainerPainter method addMachineSlots.

@Override
protected void addMachineSlots(@Nonnull InventoryPlayer playerInv) {
    addSlotToContainer(new InventorySlot(getInv(), 0, 67, 34));
    addSlotToContainer(new InventorySlot(getInv(), 1, 38, 34));
    addSlotToContainer(new InventorySlot(getInv(), 2, 121, 34));
}
Also used : InventorySlot(crazypants.enderio.machines.machine.tank.InventorySlot)

Aggregations

InventorySlot (crazypants.enderio.machines.machine.tank.InventorySlot)6 Slot (net.minecraft.inventory.Slot)4 ItemStack (net.minecraft.item.ItemStack)4 GhostBackgroundItemSlot (com.enderio.core.client.gui.widget.GhostBackgroundItemSlot)3 GhostSlot (com.enderio.core.client.gui.widget.GhostSlot)3 Point (java.awt.Point)2 SideOnly (net.minecraftforge.fml.relauncher.SideOnly)2 ArrayInventory (com.enderio.core.common.util.ArrayInventory)1 ShadowInventory (crazypants.enderio.util.ShadowInventory)1 Nonnull (javax.annotation.Nonnull)1 Nullable (javax.annotation.Nullable)1 EntityPlayer (net.minecraft.entity.player.EntityPlayer)1 EntityEquipmentSlot (net.minecraft.inventory.EntityEquipmentSlot)1