Package net.minecraft.world.inventory
Class EnchantmentMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.EnchantmentMenu
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ContainerLevelAccessfinal int[](package private) static final ResourceLocationfinal int[]private final DataSlotprivate final Containerfinal int[]private final RandomSourceFields 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 SummaryConstructorsConstructorDescriptionEnchantmentMenu(int p_39454_, Inventory p_39455_) EnchantmentMenu(int p_39457_, Inventory p_39458_, ContainerLevelAccess p_39459_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleanclickMenuButton(Player p_39465_, int p_39466_) private List<EnchantmentInstance>getEnchantmentList(ItemStack p_39472_, int p_39473_, int p_39474_) intintquickMoveStack(Player p_39490_, int p_39491_) voidvoidslotsChanged(Container p_39461_) booleanstillValid(Player p_39463_) 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- 
EMPTY_SLOT_LAPIS_LAZULI
- 
enchantSlots
- 
access
- 
random
- 
enchantmentSeed
- 
costspublic final int[] costs
- 
enchantCluepublic final int[] enchantClue
- 
levelCluepublic final int[] levelClue
 
- 
- 
Constructor Details- 
EnchantmentMenu
- 
EnchantmentMenu
 
- 
- 
Method Details- 
slotsChanged- Overrides:
- slotsChangedin class- AbstractContainerMenu
 
- 
clickMenuButton- Overrides:
- clickMenuButtonin class- AbstractContainerMenu
 
- 
getEnchantmentListprivate List<EnchantmentInstance> getEnchantmentList(ItemStack p_39472_, int p_39473_, int p_39474_) 
- 
getGoldCountpublic int getGoldCount()
- 
getEnchantmentSeedpublic int getEnchantmentSeed()
- 
removed- Overrides:
- removedin class- AbstractContainerMenu
 
- 
stillValid- Specified by:
- stillValidin class- AbstractContainerMenu
 
- 
quickMoveStack- Specified by:
- quickMoveStackin class- AbstractContainerMenu
 
 
-