public class InventoryCarpenter extends InventoryAdapterTile<TileCarpenter>
| Modifier and Type | Field and Description |
|---|---|
static int |
SLOT_BOX |
static int |
SLOT_CAN_INPUT |
static short |
SLOT_INVENTORY_1 |
static short |
SLOT_INVENTORY_COUNT |
static int |
SLOT_PRODUCT |
static int |
SLOT_PRODUCT_COUNT |
tile| Constructor and Description |
|---|
InventoryCarpenter(TileCarpenter carpenter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side) |
boolean |
canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Non-automation version of IInventory's isItemValidForSlot.
|
markDirtycanInsertItem, isItemValidForSlotclear, closeInventory, copy, decrStackSize, disableAutomation, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getSlotsForFace, getStackInSlot, hasCustomName, isEmpty, isLocked, isUsableByPlayer, openInventory, readData, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, writeData, writeToNBTpublic static final int SLOT_BOX
public static final int SLOT_PRODUCT
public static final int SLOT_PRODUCT_COUNT
public static final int SLOT_CAN_INPUT
public static final short SLOT_INVENTORY_1
public static final short SLOT_INVENTORY_COUNT
public InventoryCarpenter(TileCarpenter carpenter)
public boolean canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
IFilterSlotDelegateCombine this with Forestry's access permissions to implement isItemValidForSlot.
canSlotAccept in interface IFilterSlotDelegatecanSlotAccept in class InventoryAdapterpublic boolean canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class InventoryAdapterTile<TileCarpenter>