public class ContainerBackPack
extends net.minecraft.inventory.Container
Modifier and Type | Field and Description |
---|---|
boolean |
updateNotification |
Constructor and Description |
---|
ContainerBackPack(net.minecraft.inventory.IInventory inventory,
net.minecraft.entity.player.InventoryPlayer inventoryplayer,
EnumBackPacks type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer player) |
void |
detectAndSendChanges() |
void |
drawBackPackInventory(net.minecraft.inventory.IInventory inventory,
int x_offset,
int y_offset) |
void |
drawPlayerInventory(net.minecraft.entity.player.InventoryPlayer inventory,
int x_offset,
int y_offset) |
java.util.Map<ContainerSection,java.util.List<net.minecraft.inventory.Slot>> |
getContainerSections() |
int |
getRowSize() |
net.minecraft.item.ItemStack |
slotClick(int slotId,
int dragType,
net.minecraft.inventory.ClickType clickTypeIn,
net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer playerIn,
int index) |
addListener, addSlotToContainer, 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, updateProgressBar
public ContainerBackPack(net.minecraft.inventory.IInventory inventory, net.minecraft.entity.player.InventoryPlayer inventoryplayer, EnumBackPacks type)
public void drawBackPackInventory(net.minecraft.inventory.IInventory inventory, int x_offset, int y_offset)
public void drawPlayerInventory(net.minecraft.entity.player.InventoryPlayer inventory, int x_offset, int y_offset)
public boolean canInteractWith(net.minecraft.entity.player.EntityPlayer player)
canInteractWith
in class net.minecraft.inventory.Container
public void detectAndSendChanges()
detectAndSendChanges
in class net.minecraft.inventory.Container
public net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.EntityPlayer playerIn, int index)
transferStackInSlot
in class net.minecraft.inventory.Container
public net.minecraft.item.ItemStack slotClick(int slotId, int dragType, net.minecraft.inventory.ClickType clickTypeIn, net.minecraft.entity.player.EntityPlayer player)
slotClick
in class net.minecraft.inventory.Container
public int getRowSize()
public java.util.Map<ContainerSection,java.util.List<net.minecraft.inventory.Slot>> getContainerSections()