类 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, slots
-
构造器概要
构造器构造器说明GrindstoneMenu
(int pContainerId, Inventory pPlayerInventory) GrindstoneMenu
(int pContainerId, Inventory pPlayerInventory, ContainerLevelAccess pAccess) -
方法概要
修饰符和类型方法说明private void
private ItemStack
mergeEnchants
(ItemStack pCopyTo, ItemStack pCopyFrom) quickMoveStack
(Player pPlayer, int pIndex) void
private ItemStack
removeNonCurses
(ItemStack pStack, int pDamage, int pCount) void
slotsChanged
(Container pInventory) boolean
stillValid
(Player pPlayer) 从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlot, addSlotListener, 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, setRemoteSlotNoCopy, 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() -
mergeEnchants
-
removeNonCurses
-
removed
- 覆盖:
removed
在类中AbstractContainerMenu
-
stillValid
- 指定者:
stillValid
在类中AbstractContainerMenu
-
quickMoveStack
- 指定者:
quickMoveStack
在类中AbstractContainerMenu
-