public class InventoryAnalyzer extends InventoryAdapterTile<TileAnalyzer>
| Modifier and Type | Field and Description |
|---|---|
static short |
SLOT_ANALYZE |
static short |
SLOT_CAN |
static short |
SLOT_INPUT_1 |
static short |
SLOT_INPUT_COUNT |
static short |
SLOT_OUTPUT_1 |
static short |
SLOT_OUTPUT_COUNT |
tile| Constructor and Description |
|---|
InventoryAnalyzer(TileAnalyzer analyzer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExtractItem(int slotIndex,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing side) |
boolean |
canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Non-automation version of IInventory's isItemValidForSlot.
|
void |
setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemStack) |
markDirtycanInsertItem, isItemValidForSlotclear, closeInventory, copy, decrStackSize, disableAutomation, getDisplayName, getField, getFieldCount, getInventoryStackLimit, getName, getSizeInventory, getSlotsForFace, getStackInSlot, hasCustomName, isEmpty, isLocked, isUsableByPlayer, openInventory, readData, readFromNBT, removeStackFromSlot, setField, writeData, writeToNBTpublic static final short SLOT_ANALYZE
public static final short SLOT_CAN
public static final short SLOT_INPUT_1
public static final short SLOT_INPUT_COUNT
public static final short SLOT_OUTPUT_1
public static final short SLOT_OUTPUT_COUNT
public InventoryAnalyzer(TileAnalyzer analyzer)
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 canExtractItem(int slotIndex,
net.minecraft.item.ItemStack stack,
net.minecraft.util.EnumFacing side)
canExtractItem in interface net.minecraft.inventory.ISidedInventorycanExtractItem in class InventoryAdapterTile<TileAnalyzer>public void setInventorySlotContents(int slotId,
net.minecraft.item.ItemStack itemStack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorysetInventorySlotContents in class InventoryAdapter