Package net.minecraft.world.inventory
Class LoomMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.LoomMenu
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ContainerLevelAccess(package private) final Slot(package private) final Slotprivate final Containerprivate static final intprivate static final int(package private) longprivate final Containerprivate static final intprivate final Slotprivate final Slotprivate List<Holder<BannerPattern>>(package private) final DataSlot(package private) Runnableprivate static final intprivate static final intFields inherited from class net.minecraft.world.inventory.AbstractContainerMenuCARRIED_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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanclickMenuButton(Player p_39867_, int p_39868_) private List<Holder<BannerPattern>>getSelectablePatterns(ItemStack p_219994_) intprivate booleanisValidPatternIndex(int p_242850_) quickMoveStack(Player p_39883_, int p_39884_) voidregisterUpdateListener(Runnable p_39879_) voidprivate voidsetupResultSlot(Holder<BannerPattern> p_219992_) voidslotsChanged(Container p_39863_) booleanstillValid(Player p_39865_) Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenuaddDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
- 
Field Details- 
PATTERN_NOT_SETprivate static final int PATTERN_NOT_SET- See Also:
 
- 
INV_SLOT_STARTprivate static final int INV_SLOT_START- See Also:
 
- 
INV_SLOT_ENDprivate static final int INV_SLOT_END- See Also:
 
- 
USE_ROW_SLOT_STARTprivate static final int USE_ROW_SLOT_START- See Also:
 
- 
USE_ROW_SLOT_ENDprivate static final int USE_ROW_SLOT_END- See Also:
 
- 
access
- 
selectedBannerPatternIndex
- 
selectablePatterns
- 
slotUpdateListenerRunnable slotUpdateListener
- 
bannerSlot
- 
dyeSlot
- 
patternSlot
- 
resultSlot
- 
lastSoundTimelong lastSoundTime
- 
inputContainer
- 
outputContainer
 
- 
- 
Constructor Details- 
LoomMenu
- 
LoomMenu
 
- 
- 
Method Details- 
stillValid- Specified by:
- stillValidin class- AbstractContainerMenu
 
- 
clickMenuButton- Overrides:
- clickMenuButtonin class- AbstractContainerMenu
 
- 
getSelectablePatterns
- 
isValidPatternIndexprivate boolean isValidPatternIndex(int p_242850_) 
- 
slotsChanged- Overrides:
- slotsChangedin class- AbstractContainerMenu
 
- 
getSelectablePatterns
- 
getSelectedBannerPatternIndexpublic int getSelectedBannerPatternIndex()
- 
registerUpdateListener
- 
quickMoveStack- Specified by:
- quickMoveStackin class- AbstractContainerMenu
 
- 
removed- Overrides:
- removedin class- AbstractContainerMenu
 
- 
setupResultSlot
- 
getBannerSlot
- 
getDyeSlot
- 
getPatternSlot
- 
getResultSlot
 
-