Package net.minecraft.world.inventory
Class AbstractFurnaceMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu<Container>
net.minecraft.world.inventory.AbstractFurnaceMenu
- Direct Known Subclasses:
- BlastFurnaceMenu,- FurnaceMenu,- SmokerMenu
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Containerprivate final ContainerDatastatic final intstatic final intstatic final intprivate static final intprivate static final intprotected final Levelprivate final RecipeBookTypeprivate final RecipeType<? extends AbstractCookingRecipe>static final intstatic final intprivate static final intprivate static final intFields inherited from class net.minecraft.world.inventory.AbstractContainerMenuCARRIED_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
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractFurnaceMenu(MenuType<?> p_38960_, RecipeType<? extends AbstractCookingRecipe> p_38961_, RecipeBookType p_38962_, int p_38963_, Inventory p_38964_) protectedAbstractFurnaceMenu(MenuType<?> p_38966_, RecipeType<? extends AbstractCookingRecipe> p_38967_, RecipeBookType p_38968_, int p_38969_, Inventory p_38970_, Container p_38971_, ContainerData p_38972_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanvoidvoidfillCraftSlotsStackedContents(StackedContents p_38976_) floatintintfloatintintgetSize()protected booleanbooleanisLit()quickMoveStack(Player p_38986_, int p_38987_) booleanrecipeMatches(RecipeHolder<? extends Recipe<Container>> p_297720_) booleanshouldMoveToInventory(int p_150463_) booleanstillValid(Player p_38974_) Methods inherited from class net.minecraft.world.inventory.RecipeBookMenugetRecipeBookCategories, handlePlacementMethods inherited from class net.minecraft.world.inventory.AbstractContainerMenuaddDataSlot, 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
- 
Field Details- 
INGREDIENT_SLOTpublic static final int INGREDIENT_SLOT- See Also:
 
- 
FUEL_SLOTpublic static final int FUEL_SLOT- See Also:
 
- 
RESULT_SLOTpublic static final int RESULT_SLOT- See Also:
 
- 
SLOT_COUNTpublic static final int SLOT_COUNT- See Also:
 
- 
DATA_COUNTpublic static final int DATA_COUNT- See Also:
 
- 
INV_SLOT_STARTprivate static final int INV_SLOT_START- See Also:
 
- 
INV_SLOT_ENDprivate static final int INV_SLOT_END- See Also:
 
- 
USE_ROW_SLOT_STARTprivate static final int USE_ROW_SLOT_START- See Also:
 
- 
USE_ROW_SLOT_ENDprivate static final int USE_ROW_SLOT_END- See Also:
 
- 
container
- 
data
- 
level
- 
recipeType
- 
recipeBookType
 
- 
- 
Constructor Details- 
AbstractFurnaceMenuprotected AbstractFurnaceMenu(MenuType<?> p_38960_, RecipeType<? extends AbstractCookingRecipe> p_38961_, RecipeBookType p_38962_, int p_38963_, Inventory p_38964_) 
- 
AbstractFurnaceMenuprotected AbstractFurnaceMenu(MenuType<?> p_38966_, RecipeType<? extends AbstractCookingRecipe> p_38967_, RecipeBookType p_38968_, int p_38969_, Inventory p_38970_, Container p_38971_, ContainerData p_38972_) 
 
- 
- 
Method Details- 
fillCraftSlotsStackedContents- Specified by:
- fillCraftSlotsStackedContentsin class- RecipeBookMenu<Container>
 
- 
clearCraftingContentpublic void clearCraftingContent()- Specified by:
- clearCraftingContentin class- RecipeBookMenu<Container>
 
- 
recipeMatches- Specified by:
- recipeMatchesin class- RecipeBookMenu<Container>
 
- 
getResultSlotIndexpublic int getResultSlotIndex()- Specified by:
- getResultSlotIndexin class- RecipeBookMenu<Container>
 
- 
getGridWidthpublic int getGridWidth()- Specified by:
- getGridWidthin class- RecipeBookMenu<Container>
 
- 
getGridHeightpublic int getGridHeight()- Specified by:
- getGridHeightin class- RecipeBookMenu<Container>
 
- 
getSizepublic int getSize()- Specified by:
- getSizein class- RecipeBookMenu<Container>
 
- 
stillValid- Specified by:
- stillValidin class- AbstractContainerMenu
 
- 
quickMoveStack- Specified by:
- quickMoveStackin class- AbstractContainerMenu
 
- 
canSmelt
- 
isFuel
- 
getBurnProgresspublic float getBurnProgress()
- 
getLitProgresspublic float getLitProgress()
- 
isLitpublic boolean isLit()
- 
getRecipeBookType- Specified by:
- getRecipeBookTypein class- RecipeBookMenu<Container>
 
- 
shouldMoveToInventorypublic boolean shouldMoveToInventory(int p_150463_) - Specified by:
- shouldMoveToInventoryin class- RecipeBookMenu<Container>
 
 
-