public class BagContainer
extends net.minecraft.inventory.Container
Modifier and Type | Field and Description |
---|---|
java.util.List<net.minecraft.inventory.Slot> |
customSlots |
java.util.List<net.minecraft.item.ItemStack> |
customSlotsItems |
Constructor and Description |
---|
BagContainer(net.minecraft.entity.player.EntityPlayer player,
net.minecraft.world.World world,
int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn) |
void |
clear(net.minecraft.item.ItemStack stack) |
void |
detectAndSendChanges() |
static java.lang.Object |
getGuiClass() |
void |
handleCustomSlotAction(int slotNumber,
int mouseButton,
boolean duplicateButton,
boolean holdingShift) |
net.minecraft.item.ItemStack |
transferStackInSlot(net.minecraft.entity.player.EntityPlayer playerIn,
int index) |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, canDragIntoSlot, canMergeSlot, computeStackSize, enchantItem, extractDragMode, func_190896_a, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, retrySlotClick, setCanCraft, slotClick, updateProgressBar
public final java.util.List<net.minecraft.inventory.Slot> customSlots
public final java.util.List<net.minecraft.item.ItemStack> customSlotsItems
public BagContainer(net.minecraft.entity.player.EntityPlayer player, net.minecraft.world.World world, int x, int y, int z)
public boolean canInteractWith(net.minecraft.entity.player.EntityPlayer playerIn)
canInteractWith
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 static java.lang.Object getGuiClass()
public void handleCustomSlotAction(int slotNumber, int mouseButton, boolean duplicateButton, boolean holdingShift)
public void detectAndSendChanges()
detectAndSendChanges
in class net.minecraft.inventory.Container
public void clear(net.minecraft.item.ItemStack stack)