类 AbstractFurnaceMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu<Container>
net.minecraft.world.inventory.AbstractFurnaceMenu
- 直接已知子类:
BlastFurnaceMenu
,FurnaceMenu
,SmokerMenu
-
字段概要
字段修饰符和类型字段说明private 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, slots
-
构造器概要
构造器限定符构造器说明protected
AbstractFurnaceMenu
(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, RecipeBookType pRecipeBookType, int pContainerId, Inventory pPlayerInventory) protected
AbstractFurnaceMenu
(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, RecipeBookType pRecipeBookType, int pContainerId, Inventory pPlayerInventory, Container pContainer, ContainerData pData) -
方法概要
修饰符和类型方法说明protected boolean
void
void
fillCraftSlotsStackedContents
(StackedContents pItemHelper) int
int
int
int
int
int
getSize()
protected boolean
boolean
isLit()
quickMoveStack
(Player pPlayer, int pIndex) boolean
recipeMatches
(Recipe<? super Container> pRecipe) boolean
shouldMoveToInventory
(int pSlotIndex) boolean
stillValid
(Player pPlayer) 从类继承的方法 net.minecraft.world.inventory.RecipeBookMenu
getRecipeBookCategories, handlePlacement
从类继承的方法 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, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, 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
-
recipeBookType
-
-
构造器详细资料
-
AbstractFurnaceMenu
protected AbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, RecipeBookType pRecipeBookType, int pContainerId, Inventory pPlayerInventory) -
AbstractFurnaceMenu
protected AbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, RecipeBookType pRecipeBookType, int pContainerId, Inventory pPlayerInventory, Container pContainer, ContainerData pData)
-
-
方法详细资料
-
fillCraftSlotsStackedContents
-
clearCraftingContent
public void clearCraftingContent()- 指定者:
clearCraftingContent
在类中RecipeBookMenu<Container>
-
recipeMatches
- 指定者:
recipeMatches
在类中RecipeBookMenu<Container>
-
getResultSlotIndex
public int getResultSlotIndex()- 指定者:
getResultSlotIndex
在类中RecipeBookMenu<Container>
-
getGridWidth
public int getGridWidth()- 指定者:
getGridWidth
在类中RecipeBookMenu<Container>
-
getGridHeight
public int getGridHeight()- 指定者:
getGridHeight
在类中RecipeBookMenu<Container>
-
getSize
public int getSize()- 指定者:
getSize
在类中RecipeBookMenu<Container>
-
stillValid
- 指定者:
stillValid
在类中AbstractContainerMenu
-
quickMoveStack
- 指定者:
quickMoveStack
在类中AbstractContainerMenu
-
canSmelt
-
isFuel
-
getBurnProgress
public int getBurnProgress() -
getLitProgress
public int getLitProgress() -
isLit
public boolean isLit() -
getRecipeBookType
- 指定者:
getRecipeBookType
在类中RecipeBookMenu<Container>
-
shouldMoveToInventory
public boolean shouldMoveToInventory(int pSlotIndex) - 指定者:
shouldMoveToInventory
在类中RecipeBookMenu<Container>
-