类 InventoryMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu
net.minecraft.world.inventory.AbstractCraftingMenu
net.minecraft.world.inventory.InventoryMenu
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.inventory.RecipeBookMenu
RecipeBookMenu.PostPlaceAction
-
字段概要
字段修饰符和类型字段说明final boolean
static final int
static final int
static final int
static final int
static final int
static final int
static final int
private static final int
private static final int
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final ResourceLocation
static final int
static final int
private final Player
static final int
static final int
private static final EquipmentSlot[]
private static final Map
<EquipmentSlot, ResourceLocation> static final int
static final int
从类继承的字段 net.minecraft.world.inventory.AbstractCraftingMenu
craftSlots, resultSlots
从类继承的字段 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
canTakeItemForPickAll
(ItemStack p_39716_, Slot p_39717_) static boolean
isHotbarSlot
(int p_150593_) protected Player
owner()
quickMoveStack
(Player p_39723_, int p_39724_) void
void
slotsChanged
(Container p_39710_) boolean
stillValid
(Player p_39712_) 从类继承的方法 net.minecraft.world.inventory.AbstractCraftingMenu
addCraftingGridSlots, addResultSlot, beginPlacingRecipe, fillCraftSlotsStackedContents, finishPlacingRecipe, getGridHeight, getGridWidth, handlePlacement
从类继承的方法 net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addInventoryExtendedSlots, addInventoryHotbarSlots, addSlot, addSlotListener, addStandardInventorySlots, broadcastChanges, broadcastFullState, canDragTo, canItemQuickReplace, 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, setSelectedBundleItemIndex, setSynchronizer, stillValid, suppressRemoteUpdates, transferState
-
字段详细资料
-
CONTAINER_ID
public static final int CONTAINER_ID- 另请参阅:
-
RESULT_SLOT
public static final int RESULT_SLOT- 另请参阅:
-
CRAFTING_GRID_WIDTH
private static final int CRAFTING_GRID_WIDTH- 另请参阅:
-
CRAFTING_GRID_HEIGHT
private static final int CRAFTING_GRID_HEIGHT- 另请参阅:
-
CRAFT_SLOT_START
public static final int CRAFT_SLOT_START- 另请参阅:
-
CRAFT_SLOT_COUNT
public static final int CRAFT_SLOT_COUNT- 另请参阅:
-
CRAFT_SLOT_END
public static final int CRAFT_SLOT_END- 另请参阅:
-
ARMOR_SLOT_START
public static final int ARMOR_SLOT_START- 另请参阅:
-
ARMOR_SLOT_COUNT
public static final int ARMOR_SLOT_COUNT- 另请参阅:
-
ARMOR_SLOT_END
public static final int ARMOR_SLOT_END- 另请参阅:
-
INV_SLOT_START
public static final int INV_SLOT_START- 另请参阅:
-
INV_SLOT_END
public static final int INV_SLOT_END- 另请参阅:
-
USE_ROW_SLOT_START
public static final int USE_ROW_SLOT_START- 另请参阅:
-
USE_ROW_SLOT_END
public static final int USE_ROW_SLOT_END- 另请参阅:
-
SHIELD_SLOT
public static final int SHIELD_SLOT- 另请参阅:
-
EMPTY_ARMOR_SLOT_HELMET
-
EMPTY_ARMOR_SLOT_CHESTPLATE
-
EMPTY_ARMOR_SLOT_LEGGINGS
-
EMPTY_ARMOR_SLOT_BOOTS
-
EMPTY_ARMOR_SLOT_SHIELD
-
TEXTURE_EMPTY_SLOTS
-
SLOT_IDS
-
active
public final boolean active -
owner
-
-
构造器详细资料
-
InventoryMenu
-
-
方法详细资料
-
isHotbarSlot
public static boolean isHotbarSlot(int p_150593_) -
slotsChanged
- 覆盖:
slotsChanged
在类中AbstractContainerMenu
-
removed
- 覆盖:
removed
在类中AbstractContainerMenu
-
stillValid
- 指定者:
stillValid
在类中AbstractContainerMenu
-
quickMoveStack
- 指定者:
quickMoveStack
在类中AbstractContainerMenu
-
canTakeItemForPickAll
-
getResultSlot
- 指定者:
getResultSlot
在类中AbstractCraftingMenu
-
getInputGridSlots
- 指定者:
getInputGridSlots
在类中AbstractCraftingMenu
-
getCraftSlots
-
getRecipeBookType
- 指定者:
getRecipeBookType
在类中RecipeBookMenu
-
owner
- 指定者:
owner
在类中AbstractCraftingMenu
-