public interface ISidedInventory extends IInventory
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int p_102008_1_,
ItemStack p_102008_2_,
int p_102008_3_)
Returns true if automation can extract the given item in the given slot from the given side.
|
boolean |
canInsertItem(int p_102007_1_,
ItemStack p_102007_2_,
int p_102007_3_)
Returns true if automation can insert the given item in the given slot from the given side.
|
int[] |
getAccessibleSlotsFromSide(int p_94128_1_)
Returns an array containing the indices of the slots that can be accessed by automation on the given side of this
block.
|
closeInventory, decrStackSize, getInventoryName, getInventoryStackLimit, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, hasCustomInventoryName, isItemValidForSlot, isUseableByPlayer, markDirty, openInventory, setInventorySlotContentsint[] getAccessibleSlotsFromSide(int p_94128_1_)
boolean canInsertItem(int p_102007_1_,
ItemStack p_102007_2_,
int p_102007_3_)
boolean canExtractItem(int p_102008_1_,
ItemStack p_102008_2_,
int p_102008_3_)