Package net.minecraft.src
Interface ISidedInventory
- All Superinterfaces:
IInventory
- All Known Implementing Classes:
OvenTileEntity,TileEntityBrewingStand,TileEntityFurnace
-
Method Summary
Modifier and TypeMethodDescriptionbooleancanExtractItem(int var1, ItemStack var2, int var3) Returns true if automation can extract the given item in the given slot from the given side.booleancanInsertItem(int var1, ItemStack var2, int var3) Returns true if automation can insert the given item in the given slot from the given side.int[]getAccessibleSlotsFromSide(int var1) Returns an array containing the indices of the slots that can be accessed by automation on the given side of this block.Methods inherited from interface net.minecraft.src.IInventory
closeChest, decrStackSize, getInventoryStackLimit, getInvName, getSizeInventory, getStackInSlot, getStackInSlotOnClosing, isInvNameLocalized, isItemValidForSlot, isUseableByPlayer, onInventoryChanged, openChest, setInventorySlotContents
-
Method Details
-
getAccessibleSlotsFromSide
int[] getAccessibleSlotsFromSide(int var1) Returns an array containing the indices of the slots that can be accessed by automation on the given side of this block. -
canInsertItem
Returns true if automation can insert the given item in the given slot from the given side. Args: Slot, item, side -
canExtractItem
Returns true if automation can extract the given item in the given slot from the given side. Args: Slot, item, side
-