Package net.minecraft.world.inventory
Class GrindstoneMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.GrindstoneMenu
-
Field Summary
Modifier and TypeFieldDescriptionprivate ContainerLevelAccess
static int
static int
private static int
private static int
static int
(package private) Container
static int
private Container
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
ConstructorDescriptionGrindstoneMenu(int p_39563_, Inventory p_39564_)
GrindstoneMenu(int p_39566_, Inventory p_39567_, ContainerLevelAccess p_39568_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private ItemStack
mergeEnchants(ItemStack p_39591_, ItemStack p_39592_)
quickMoveStack(Player p_39588_, int p_39589_)
void
private ItemStack
removeNonCurses(ItemStack p_39580_, int p_39581_, int p_39582_)
void
slotsChanged(Container p_39570_)
boolean
stillValid(Player p_39572_)
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, 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
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH- See Also:
- Constant Field Values
-
INPUT_SLOT
public static final int INPUT_SLOT- See Also:
- Constant Field Values
-
ADDITIONAL_SLOT
public static final int ADDITIONAL_SLOT- See Also:
- Constant Field Values
-
RESULT_SLOT
public static final int RESULT_SLOT- See Also:
- Constant Field Values
-
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
-
resultSlots
-
repairSlots
-
access
-
-
Constructor Details
-
GrindstoneMenu
-
GrindstoneMenu
-
-
Method Details
-
slotsChanged
- Overrides:
slotsChanged
in classAbstractContainerMenu
-
createResult
private void createResult() -
mergeEnchants
-
removeNonCurses
-
removed
- Overrides:
removed
in classAbstractContainerMenu
-
stillValid
- Specified by:
stillValid
in classAbstractContainerMenu
-
quickMoveStack
- Overrides:
quickMoveStack
in classAbstractContainerMenu
-