public class ContainerEntity<T extends net.minecraft.entity.Entity & net.minecraft.inventory.IInventory> extends ContainerForestry
| Modifier and Type | Field and Description |
|---|---|
protected T |
entity |
PLAYER_HOTBAR_OFFSET, PLAYER_INV_SLOTS| Modifier | Constructor and Description |
|---|---|
protected |
ContainerEntity(T entity) |
protected |
ContainerEntity(T entity,
net.minecraft.entity.player.InventoryPlayer playerInventory,
int xInv,
int yInv) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canAccess(net.minecraft.entity.player.EntityPlayer player) |
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer entityplayer) |
void |
detectAndSendChanges() |
addHotbarSlot, addPlayerInventory, addSlot, addSlotToContainer, getContainerSections, getForestrySlot, sendPacketToListeners, slotClick, transferStackInSlotaddListener, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, clearContainer, computeStackSize, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarprotected final T extends net.minecraft.entity.Entity & net.minecraft.inventory.IInventory entity
protected ContainerEntity(T entity)
protected ContainerEntity(T entity, net.minecraft.entity.player.InventoryPlayer playerInventory, int xInv, int yInv)
protected final boolean canAccess(net.minecraft.entity.player.EntityPlayer player)
canAccess in class ContainerForestrypublic final boolean canInteractWith(net.minecraft.entity.player.EntityPlayer entityplayer)
canInteractWith in class net.minecraft.inventory.Containerpublic void detectAndSendChanges()
detectAndSendChanges in class net.minecraft.inventory.Container