public class ItemInventoryAlyzer extends ItemInventory implements IErrorSource
| Modifier and Type | Field and Description |
|---|---|
static int |
SLOT_ANALYZE_1 |
static int |
SLOT_ANALYZE_2 |
static int |
SLOT_ANALYZE_3 |
static int |
SLOT_ANALYZE_4 |
static int |
SLOT_ANALYZE_5 |
static int |
SLOT_ENERGY |
static int |
SLOT_SPECIMEN |
player| Constructor and Description |
|---|
ItemInventoryAlyzer(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemstack) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Non-automation version of IInventory's isItemValidForSlot.
|
com.google.common.collect.ImmutableSet<IErrorState> |
getErrorStates() |
net.minecraft.item.ItemStack |
getSpecimen() |
boolean |
hasSpecimen() |
static boolean |
isAlyzingFuel(net.minecraft.item.ItemStack itemstack) |
protected void |
onWriteNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
setInventorySlotContents(int index,
net.minecraft.item.ItemStack itemStack) |
clear, closeInventory, decrStackSize, getCapability, getDisplayName, getField, getFieldCount, getHand, getInventoryStackLimit, getItemHandler, getName, getOccupiedSlotCount, getParent, getSizeInventory, getStackInSlot, hasCapability, hasCustomName, isEmpty, isItemValidForSlot, isLocked, isParentItemInventory, isUsableByPlayer, markDirty, onSlotClick, openInventory, removeStackFromSlot, setFieldpublic static final int SLOT_ENERGY
public static final int SLOT_SPECIMEN
public static final int SLOT_ANALYZE_1
public static final int SLOT_ANALYZE_2
public static final int SLOT_ANALYZE_3
public static final int SLOT_ANALYZE_4
public static final int SLOT_ANALYZE_5
public ItemInventoryAlyzer(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.item.ItemStack itemstack)
public static boolean isAlyzingFuel(net.minecraft.item.ItemStack itemstack)
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 ItemInventorypublic void setInventorySlotContents(int index,
net.minecraft.item.ItemStack itemStack)
setInventorySlotContents in interface net.minecraft.inventory.IInventorysetInventorySlotContents in class ItemInventorypublic final com.google.common.collect.ImmutableSet<IErrorState> getErrorStates()
getErrorStates in interface IErrorSourcepublic net.minecraft.item.ItemStack getSpecimen()
public boolean hasSpecimen()
protected void onWriteNBT(net.minecraft.nbt.NBTTagCompound nbt)
onWriteNBT in class ItemInventory