Package net.minecraft.world.inventory
Class LoomMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.LoomMenu
-
Field Summary
Modifier and TypeFieldDescriptionprivate ContainerLevelAccess
(package private) Slot
(package private) Slot
private Container
private static int
private static int
(package private) long
private Container
private Slot
private Slot
(package private) DataSlot
(package private) Runnable
private static int
private static int
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
clickMenuButton(Player p_39867_, int p_39868_)
int
quickMoveStack(Player p_39883_, int p_39884_)
void
registerUpdateListener(Runnable p_39879_)
void
private void
void
slotsChanged(Container p_39863_)
boolean
stillValid(Player p_39865_)
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
INV_SLOT_START
private static final int INV_SLOT_START- See Also:
- Constant Field Values
-
INV_SLOT_END
private static final int INV_SLOT_END- See Also:
- Constant Field Values
-
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- See Also:
- Constant Field Values
-
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- See Also:
- Constant Field Values
-
access
-
selectedBannerPatternIndex
-
slotUpdateListener
Runnable slotUpdateListener -
bannerSlot
-
dyeSlot
-
patternSlot
-
resultSlot
-
lastSoundTime
long lastSoundTime -
inputContainer
-
outputContainer
-
-
Constructor Details
-
LoomMenu
-
LoomMenu
-
-
Method Details
-
getSelectedBannerPatternIndex
public int getSelectedBannerPatternIndex() -
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
clickMenuButton
- Overrides:
clickMenuButton
in classAbstractContainerMenu
-
slotsChanged
- Overrides:
slotsChanged
in classAbstractContainerMenu
-
registerUpdateListener
-
quickMoveStack
- Overrides:
quickMoveStack
in classAbstractContainerMenu
-
removed
- Overrides:
removed
in classAbstractContainerMenu
-
setupResultSlot
private void setupResultSlot() -
getBannerSlot
-
getDyeSlot
-
getPatternSlot
-
getResultSlot
-