public interface ISidedInventory extends IInventory
Modifier and Type | Method and Description |
---|---|
boolean |
canExtractItem(int index,
ItemStack stack,
EnumFacing direction)
Returns true if automation can extract the given item in the given slot from the given side.
|
boolean |
canInsertItem(int index,
ItemStack itemStackIn,
EnumFacing direction)
Returns true if automation can insert the given item in the given slot from the given side.
|
int[] |
getSlotsForFace(EnumFacing side) |
clear, closeInventory, decrStackSize, getField, getFieldCount, getInventoryStackLimit, getSizeInventory, getStackInSlot, isEmpty, isItemValidForSlot, isUsableByPlayer, markDirty, openInventory, removeStackFromSlot, setField, setInventorySlotContents
getDisplayName, getName, hasCustomName
int[] getSlotsForFace(EnumFacing side)
boolean canInsertItem(int index, ItemStack itemStackIn, EnumFacing direction)
boolean canExtractItem(int index, ItemStack stack, EnumFacing direction)