public class InventoryFabricator extends InventoryAdapterTile<TileFabricator>
| Modifier and Type | Field and Description |
|---|---|
static short |
SLOT_COUNT |
static short |
SLOT_INVENTORY_1 |
static short |
SLOT_INVENTORY_COUNT |
static short |
SLOT_METAL |
static short |
SLOT_PLAN |
static short |
SLOT_RESULT |
tile| Constructor and Description |
|---|
InventoryFabricator(TileFabricator fabricator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotIndex,
net.minecraft.item.ItemStack stack,
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 short SLOT_METAL
public static final short SLOT_PLAN
public static final short SLOT_RESULT
public static final short SLOT_INVENTORY_1
public static final short SLOT_INVENTORY_COUNT
public static final short SLOT_COUNT
public InventoryFabricator(TileFabricator fabricator)
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 stack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class InventoryAdapterTile<TileFabricator>