类 GrindstoneMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.GrindstoneMenu
-
字段概要
字段修饰符和类型字段说明private final ContainerLevelAccess
static final int
static final int
private static final int
private static final int
static final int
(专用程序包) final Container
static final int
private final Container
private static final int
private static final int
private 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
-
构造器概要
构造器构造器说明GrindstoneMenu
(int p_39563_, Inventory p_39564_) GrindstoneMenu
(int p_39566_, Inventory p_39567_, ContainerLevelAccess p_39568_) -
方法概要
修饰符和类型方法说明private ItemStack
computeResult
(ItemStack p_332654_, ItemStack p_332736_) private void
private void
mergeEnchantsFrom
(ItemStack p_332680_, ItemStack p_332800_) private ItemStack
mergeItems
(ItemStack p_332723_, ItemStack p_332686_) quickMoveStack
(Player p_39588_, int p_39589_) void
private ItemStack
removeNonCursesFrom
(ItemStack p_332709_) void
slotsChanged
(Container p_39570_) boolean
stillValid
(Player p_39572_) 从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, 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, setRemoteSlotUnsafe, setSelectedBundleItemIndex, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
-
字段详细资料
-
MAX_NAME_LENGTH
public static final int MAX_NAME_LENGTH- 另请参阅:
-
INPUT_SLOT
public static final int INPUT_SLOT- 另请参阅:
-
ADDITIONAL_SLOT
public static final int ADDITIONAL_SLOT- 另请参阅:
-
RESULT_SLOT
public static final int RESULT_SLOT- 另请参阅:
-
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- 另请参阅:
-
resultSlots
-
repairSlots
-
access
-
xp
private int xp
-
-
构造器详细资料
-
GrindstoneMenu
-
GrindstoneMenu
-
-
方法详细资料
-
slotsChanged
- 覆盖:
slotsChanged
在类中AbstractContainerMenu
-
createResult
private void createResult() -
computeResult
-
mergeItems
-
mergeEnchantsFrom
-
removeNonCursesFrom
-
removed
- 覆盖:
removed
在类中AbstractContainerMenu
-
stillValid
- 指定者:
stillValid
在类中AbstractContainerMenu
-
quickMoveStack
- 指定者:
quickMoveStack
在类中AbstractContainerMenu
-