public class ItemInventoryBackpack extends ItemInventory
player| Constructor and Description |
|---|
ItemInventoryBackpack(net.minecraft.entity.player.EntityPlayer player,
int size,
net.minecraft.item.ItemStack parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSlotAccept(int slotIndex,
net.minecraft.item.ItemStack itemStack)
Non-automation version of IInventory's isItemValidForSlot.
|
boolean |
isUsableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer) |
clear, closeInventory, decrStackSize, getCapability, getDisplayName, getField, getFieldCount, getHand, getInventoryStackLimit, getItemHandler, getName, getOccupiedSlotCount, getParent, getSizeInventory, getStackInSlot, hasCapability, hasCustomName, isEmpty, isItemValidForSlot, isLocked, isParentItemInventory, markDirty, onSlotClick, onWriteNBT, openInventory, removeStackFromSlot, setField, setInventorySlotContentspublic ItemInventoryBackpack(net.minecraft.entity.player.EntityPlayer player,
int size,
net.minecraft.item.ItemStack parent)
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 boolean isUsableByPlayer(net.minecraft.entity.player.EntityPlayer entityplayer)
isUsableByPlayer in interface net.minecraft.inventory.IInventoryisUsableByPlayer in class ItemInventory