public class InventoryEscritoire extends InventoryAdapterTile<TileEscritoire>
| Modifier and Type | Field and Description |
|---|---|
static short |
SLOT_ANALYZE |
static short |
SLOT_INPUT_1 |
static short |
SLOT_RESULTS_1 |
static short |
SLOTS_INPUT_COUNT |
static short |
SLOTS_RESULTS_COUNT |
tile| Constructor and Description |
|---|
InventoryEscritoire(TileEscritoire escritoire) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotIndex,
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.
|
boolean |
isLocked(int slotIndex)
Used to lock slots under special conditions.
|
void |
setInventorySlotContents(int slotIndex,
net.minecraft.item.ItemStack itemstack) |
markDirtycanInsertItem, isItemValidForSlotclear, closeInventory, copy, decrStackSize, disableAutomation, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getSlotsForFace, getStackInSlot, hasCustomName, isEmpty, isUsableByPlayer, openInventory, readData, readFromNBT, removeStackFromSlot, setField, writeData, writeToNBTpublic static final short SLOT_ANALYZE
public static final short SLOT_RESULTS_1
public static final short SLOTS_RESULTS_COUNT
public static final short SLOT_INPUT_1
public static final short SLOTS_INPUT_COUNT
public InventoryEscritoire(TileEscritoire escritoire)
public 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 isLocked(int slotIndex)
IFilterSlotDelegateisLocked in interface IFilterSlotDelegateisLocked in class InventoryAdapterpublic boolean canExtractItem(int slotIndex,
net.minecraft.item.ItemStack itemstack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class InventoryAdapterTile<TileEscritoire>public void setInventorySlotContents(int slotIndex,
net.minecraft.item.ItemStack itemstack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorysetInventorySlotContents in class InventoryAdapter