YATS/Forge Documentation
|
Public Member Functions | |
int[] | getAccessibleSlotsFromSide (int var1) |
boolean | canInsertItem (int i, ItemStack itemstack, int j) |
boolean | canExtractItem (int i, ItemStack itemstack, int j) |
Public Member Functions inherited from net.minecraft.inventory.IInventory | |
int | getSizeInventory () |
ItemStack | getStackInSlot (int i) |
ItemStack | decrStackSize (int i, int j) |
ItemStack | getStackInSlotOnClosing (int i) |
void | setInventorySlotContents (int i, ItemStack itemstack) |
String | getInvName () |
boolean | isInvNameLocalized () |
int | getInventoryStackLimit () |
void | onInventoryChanged () |
boolean | isUseableByPlayer (EntityPlayer entityplayer) |
void | openChest () |
void | closeChest () |
boolean | isStackValidForSlot (int i, ItemStack itemstack) |
boolean net.minecraft.inventory.ISidedInventory.canExtractItem | ( | int | i, |
ItemStack | itemstack, | ||
int | j | ||
) |
Returns true if automation can extract the given item in the given slot from the given side. Args: Slot, item, side
Implemented in net.minecraft.tileentity.TileEntityFurnace, and net.minecraft.tileentity.TileEntityBrewingStand.
boolean net.minecraft.inventory.ISidedInventory.canInsertItem | ( | int | i, |
ItemStack | itemstack, | ||
int | j | ||
) |
Returns true if automation can insert the given item in the given slot from the given side. Args: Slot, item, side
Implemented in net.minecraft.tileentity.TileEntityFurnace, and net.minecraft.tileentity.TileEntityBrewingStand.
int [] net.minecraft.inventory.ISidedInventory.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.
Implemented in net.minecraft.tileentity.TileEntityFurnace, and net.minecraft.tileentity.TileEntityBrewingStand.