类 AbstractFurnaceMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu
net.minecraft.world.inventory.AbstractFurnaceMenu
- 直接已知子类:
BlastFurnaceMenu
,FurnaceMenu
,SmokerMenu
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraft.world.inventory.RecipeBookMenu
RecipeBookMenu.PostPlaceAction
-
字段概要
字段修饰符和类型字段说明private final RecipePropertySet
(专用程序包) final Container
private final ContainerData
static final int
static final int
static final int
private static final int
private static final int
protected final Level
private final RecipeBookType
private final RecipeType
<? extends AbstractCookingRecipe> static final int
static final int
private static final int
private static final 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
-
构造器概要
构造器限定符构造器说明protected
AbstractFurnaceMenu
(MenuType<?> p_38966_, RecipeType<? extends AbstractCookingRecipe> p_38967_, ResourceKey<RecipePropertySet> p_380333_, RecipeBookType p_38968_, int p_38969_, Inventory p_38970_) protected
AbstractFurnaceMenu
(MenuType<?> p_38960_, RecipeType<? extends AbstractCookingRecipe> p_38961_, ResourceKey<RecipePropertySet> p_379773_, RecipeBookType p_38962_, int p_38963_, Inventory p_38964_, Container p_379971_, ContainerData p_379737_) -
方法概要
修饰符和类型方法说明protected boolean
void
fillCraftSlotsStackedContents
(StackedItemContents p_363436_) float
float
handlePlacement
(boolean p_361547_, boolean p_363944_, RecipeHolder<?> p_360938_, ServerLevel p_379475_, Inventory p_361954_) protected boolean
boolean
isLit()
quickMoveStack
(Player p_38986_, int p_38987_) boolean
stillValid
(Player p_38974_) 从类继承的方法 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, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotUnsafe, setSelectedBundleItemIndex, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
字段详细资料
-
INGREDIENT_SLOT
public static final int INGREDIENT_SLOT- 另请参阅:
-
FUEL_SLOT
public static final int FUEL_SLOT- 另请参阅:
-
RESULT_SLOT
public static final int RESULT_SLOT- 另请参阅:
-
SLOT_COUNT
public static final int SLOT_COUNT- 另请参阅:
-
DATA_COUNT
public static final int DATA_COUNT- 另请参阅:
-
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- 另请参阅:
-
container
-
data
-
level
-
recipeType
-
acceptedInputs
-
recipeBookType
-
-
构造器详细资料
-
AbstractFurnaceMenu
protected AbstractFurnaceMenu(MenuType<?> p_38966_, RecipeType<? extends AbstractCookingRecipe> p_38967_, ResourceKey<RecipePropertySet> p_380333_, RecipeBookType p_38968_, int p_38969_, Inventory p_38970_) -
AbstractFurnaceMenu
protected AbstractFurnaceMenu(MenuType<?> p_38960_, RecipeType<? extends AbstractCookingRecipe> p_38961_, ResourceKey<RecipePropertySet> p_379773_, RecipeBookType p_38962_, int p_38963_, Inventory p_38964_, Container p_379971_, ContainerData p_379737_)
-
-
方法详细资料
-
fillCraftSlotsStackedContents
-
getResultSlot
-
stillValid
- 指定者:
stillValid
在类中AbstractContainerMenu
-
quickMoveStack
- 指定者:
quickMoveStack
在类中AbstractContainerMenu
-
canSmelt
-
isFuel
-
getBurnProgress
public float getBurnProgress() -
getLitProgress
public float getLitProgress() -
isLit
public boolean isLit() -
getRecipeBookType
- 指定者:
getRecipeBookType
在类中RecipeBookMenu
-
handlePlacement
public RecipeBookMenu.PostPlaceAction handlePlacement(boolean p_361547_, boolean p_363944_, RecipeHolder<?> p_360938_, ServerLevel p_379475_, Inventory p_361954_) - 指定者:
handlePlacement
在类中RecipeBookMenu
-