public class InventoryFermenter extends InventoryAdapterTile<TileFermenter>
| Modifier and Type | Field and Description |
|---|---|
static short |
SLOT_CAN_INPUT |
static short |
SLOT_CAN_OUTPUT |
static short |
SLOT_FUEL |
static short |
SLOT_INPUT |
static short |
SLOT_RESOURCE |
tile| Constructor and Description |
|---|
InventoryFermenter(TileFermenter fermenter) |
| 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 short SLOT_RESOURCE
public static final short SLOT_FUEL
public static final short SLOT_CAN_OUTPUT
public static final short SLOT_CAN_INPUT
public static final short SLOT_INPUT
public InventoryFermenter(TileFermenter fermenter)
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<TileFermenter>