Class CreativeModeInventoryScreen.ItemPickerMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen.ItemPickerMenu
- Enclosing class:
- CreativeModeInventoryScreen
-
Field Summary
Modifier and TypeFieldDescriptionprivate final AbstractContainerMenu
final NonNullList<ItemStack>
Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
canTakeItemForPickAll
(ItemStack p_98647_, Slot p_98648_) quickMoveStack
(Player p_98650_, int p_98651_) void
scrollTo
(float p_98643_) void
setCarried
(ItemStack p_169751_) boolean
stillValid
(Player p_98645_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, findSlot, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
items
-
inventoryMenu
-
-
Constructor Details
-
ItemPickerMenu
-
-
Method Details
-
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
scrollTo
public void scrollTo(float p_98643_) -
canScroll
public boolean canScroll() -
quickMoveStack
- Specified by:
quickMoveStack
in classAbstractContainerMenu
-
canTakeItemForPickAll
- Overrides:
canTakeItemForPickAll
in classAbstractContainerMenu
-
canDragTo
- Overrides:
canDragTo
in classAbstractContainerMenu
-
getCarried
- Overrides:
getCarried
in classAbstractContainerMenu
-
setCarried
- Overrides:
setCarried
in classAbstractContainerMenu
-