public class InventoryTradeStation extends InventoryAdapter
| Constructor and Description |
|---|
InventoryTradeStation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slot,
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.
|
int[] |
getSlotsForFace(net.minecraft.util.EnumFacing side) |
boolean |
isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack) |
canInsertItem, clear, closeInventory, copy, decrStackSize, disableAutomation, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getStackInSlot, hasCustomName, isEmpty, isLocked, isUsableByPlayer, markDirty, openInventory, readData, readFromNBT, removeStackFromSlot, setField, setInventorySlotContents, writeData, writeToNBTpublic int[] getSlotsForFace(net.minecraft.util.EnumFacing side)
getSlotsForFace in interface net.minecraft.inventory.ISidedInventorygetSlotsForFace in class InventoryAdapterpublic boolean canExtractItem(int slot,
net.minecraft.item.ItemStack itemStack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class InventoryAdapterpublic 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 isItemValidForSlot(int i,
net.minecraft.item.ItemStack itemstack)
isItemValidForSlot in interface net.minecraft.inventory.IInventoryisItemValidForSlot in class InventoryAdapter