public static class CreativeScreen.CreativeContainer extends Container
Modifier and Type | Field and Description |
---|---|
NonNullList<ItemStack> |
itemList |
inventorySlots, windowId
Constructor and Description |
---|
CreativeContainer(PlayerEntity player) |
Modifier and Type | Method and Description |
---|---|
boolean |
canDragIntoSlot(Slot slotIn) |
boolean |
canInteractWith(PlayerEntity playerIn) |
boolean |
canMergeSlot(ItemStack stack,
Slot slotIn) |
boolean |
canScroll() |
void |
scrollTo(float pos) |
ItemStack |
transferStackInSlot(PlayerEntity playerIn,
int index) |
addListener, addSlot, areItemsAndTagsEqual, assertIntArraySize, assertInventorySize, calcRedstone, calcRedstoneFromInventory, canAddItemToSlot, clearContainer, computeStackSize, detectAndSendChanges, enchantItem, extractDragMode, getCanCraft, getDragEvent, getInventory, getNextTransactionID, getQuickcraftMask, getSlot, getType, isValidDragMode, isWithinUsableDistance, mergeItemStack, onContainerClosed, onCraftMatrixChanged, putStackInSlot, removeListener, resetDrag, setAll, setCanCraft, slotClick, trackInt, trackIntArray, updateProgressBar
public final NonNullList<ItemStack> itemList
public CreativeContainer(PlayerEntity player)
public boolean canInteractWith(PlayerEntity playerIn)
canInteractWith
in class Container
public void scrollTo(float pos)
public boolean canScroll()
public ItemStack transferStackInSlot(PlayerEntity 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