类 LoomMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.LoomMenu
-
字段概要
字段修饰符和类型字段说明private final ContainerLevelAccess
(专用程序包) final Slot
(专用程序包) final Slot
private final Container
private static final int
private static final int
(专用程序包) long
private final Container
private static final int
private final HolderGetter
<BannerPattern> private final Slot
private final Slot
private List
<Holder<BannerPattern>> (专用程序包) final DataSlot
(专用程序包) Runnable
private static final int
private static final int
从类继承的字段 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, SLOT_SIZE, slots, SLOTS_PER_ROW
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
clickMenuButton
(Player p_39867_, int p_39868_) private List
<Holder<BannerPattern>> getSelectablePatterns
(ItemStack p_219994_) int
private boolean
isValidPatternIndex
(int p_242850_) quickMoveStack
(Player p_39883_, int p_39884_) void
registerUpdateListener
(Runnable p_39879_) void
private void
setupResultSlot
(Holder<BannerPattern> p_219992_) void
slotsChanged
(Container p_39863_) boolean
stillValid
(Player p_39865_) 从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, 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, setSelectedBundleItemIndex, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
-
字段详细资料
-
PATTERN_NOT_SET
private static final int PATTERN_NOT_SET- 另请参阅:
-
INV_SLOT_START
private static final int INV_SLOT_START- 另请参阅:
-
INV_SLOT_END
private static final int INV_SLOT_END- 另请参阅:
-
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- 另请参阅:
-
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- 另请参阅:
-
access
-
selectedBannerPatternIndex
-
selectablePatterns
-
slotUpdateListener
Runnable slotUpdateListener -
patternGetter
-
bannerSlot
-
dyeSlot
-
patternSlot
-
resultSlot
-
lastSoundTime
long lastSoundTime -
inputContainer
-
outputContainer
-
-
构造器详细资料
-
LoomMenu
-
LoomMenu
-
-
方法详细资料
-
stillValid
- 指定者:
stillValid
在类中AbstractContainerMenu
-
clickMenuButton
- 覆盖:
clickMenuButton
在类中AbstractContainerMenu
-
getSelectablePatterns
-
isValidPatternIndex
private boolean isValidPatternIndex(int p_242850_) -
slotsChanged
- 覆盖:
slotsChanged
在类中AbstractContainerMenu
-
getSelectablePatterns
-
getSelectedBannerPatternIndex
public int getSelectedBannerPatternIndex() -
registerUpdateListener
-
quickMoveStack
- 指定者:
quickMoveStack
在类中AbstractContainerMenu
-
removed
- 覆盖:
removed
在类中AbstractContainerMenu
-
setupResultSlot
-
getBannerSlot
-
getDyeSlot
-
getPatternSlot
-
getResultSlot
-