public static class GuiContainerCreative.ContainerCreative extends Container
Modifier and Type | Field and Description |
---|---|
NonNullList<ItemStack> |
itemList |
inventoryItemStacks, inventorySlots, listeners, windowId
Constructor and Description |
---|
ContainerCreative(EntityPlayer player) |
Modifier and Type | Method and Description |
---|---|
boolean |
canDragIntoSlot(Slot slotIn) |
boolean |
canInteractWith(EntityPlayer playerIn) |
boolean |
canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
canScroll() |
void |
scrollTo(float pos) |
ItemStack |
transferStackInSlot(EntityPlayer playerIn,
int index) |
addListener, addSlotToContainer, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getSlotFromInventory, isValidDragMode, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotChangedCraftingGrid, slotClick, updateProgressBar
public NonNullList<ItemStack> itemList
public ContainerCreative(EntityPlayer player)
public boolean canInteractWith(EntityPlayer playerIn)
canInteractWith
in class Container
public void scrollTo(float pos)
public boolean canScroll()
public ItemStack transferStackInSlot(EntityPlayer playerIn, int index)
transferStackInSlot
in class Container
public boolean canMergeSlot(ItemStack stack, Slot slotIn)
canMergeSlot
in class Container
public boolean canDragIntoSlot(Slot slotIn)
canDragIntoSlot
in class Container