public abstract class ContainerForestry
extends net.minecraft.inventory.Container
| Modifier and Type | Field and Description |
|---|---|
static int |
PLAYER_HOTBAR_OFFSET |
static int |
PLAYER_INV_SLOTS |
| Constructor and Description |
|---|
ContainerForestry() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addHotbarSlot(net.minecraft.entity.player.InventoryPlayer playerInventory,
int slot,
int x,
int y) |
protected void |
addPlayerInventory(net.minecraft.entity.player.InventoryPlayer playerInventory,
int xInv,
int yInv) |
protected void |
addSlot(net.minecraft.entity.player.InventoryPlayer playerInventory,
int slot,
int x,
int y) |
net.minecraft.inventory.Slot |
addSlotToContainer(net.minecraft.inventory.Slot p_75146_1_) |
protected abstract boolean |
canAccess(net.minecraft.entity.player.EntityPlayer player) |
java.util.Map<invtweaks.api.container.ContainerSection,java.util.List<net.minecraft.inventory.Slot>> |
getContainerSections() |
net.minecraft.inventory.Slot |
getForestrySlot(int slot) |
protected void |
sendPacketToListeners(IForestryPacketClient packet) |
net.minecraft.item.ItemStack |
slotClick(int slotId,
int dragType_or_button,
net.minecraft.inventory.ClickType clickTypeIn,
net.minecraft.entity.player.EntityPlayer player) |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int slotIndex) |
addListener, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canInteractWith, canMergeSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, updateProgressBarpublic static final int PLAYER_HOTBAR_OFFSET
public static final int PLAYER_INV_SLOTS
protected final void addPlayerInventory(net.minecraft.entity.player.InventoryPlayer playerInventory,
int xInv,
int yInv)
protected void addHotbarSlot(net.minecraft.entity.player.InventoryPlayer playerInventory,
int slot,
int x,
int y)
protected void addSlot(net.minecraft.entity.player.InventoryPlayer playerInventory,
int slot,
int x,
int y)
public net.minecraft.inventory.Slot addSlotToContainer(net.minecraft.inventory.Slot p_75146_1_)
addSlotToContainer in class net.minecraft.inventory.Containerpublic net.minecraft.item.ItemStack slotClick(int slotId,
int dragType_or_button,
net.minecraft.inventory.ClickType clickTypeIn,
net.minecraft.entity.player.EntityPlayer player)
slotClick in class net.minecraft.inventory.Containerpublic net.minecraft.inventory.Slot getForestrySlot(int slot)
public final net.minecraft.item.ItemStack transferStackInSlot(net.minecraft.entity.player.EntityPlayer player,
int slotIndex)
transferStackInSlot in class net.minecraft.inventory.Containerprotected abstract boolean canAccess(net.minecraft.entity.player.EntityPlayer player)
protected final void sendPacketToListeners(IForestryPacketClient packet)
public java.util.Map<invtweaks.api.container.ContainerSection,java.util.List<net.minecraft.inventory.Slot>> getContainerSections()