Package net.minecraft.world.inventory
Class AbstractFurnaceMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu
net.minecraft.world.inventory.AbstractFurnaceMenu
- Direct Known Subclasses:
 BlastFurnaceMenu,FurnaceMenu,SmokerMenu
- 
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.inventory.RecipeBookMenu
RecipeBookMenu.PostPlaceAction - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RecipePropertySet(package private) 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.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 - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory) protectedAbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory, Container pContainer, ContainerData pData)  - 
Method Summary
Modifier and TypeMethodDescriptionprotected booleanvoidfillCraftSlotsStackedContents(StackedItemContents p_363436_) floatfloathandlePlacement(boolean p_361547_, boolean p_363944_, RecipeHolder<?> p_360938_, ServerLevel p_379475_, Inventory p_361954_) protected booleanbooleanisLit()quickMoveStack(Player pPlayer, int pIndex) Handle when the stack in slotindexis shift-clicked.booleanstillValid(Player pPlayer) Determines whether supplied player can use this containerMethods inherited from class 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 
- 
Field Details
- 
INGREDIENT_SLOT
public static final int INGREDIENT_SLOT- See Also:
 
 - 
FUEL_SLOT
public static final int FUEL_SLOT- See Also:
 
 - 
RESULT_SLOT
public static final int RESULT_SLOT- See Also:
 
 - 
SLOT_COUNT
public static final int SLOT_COUNT- See Also:
 
 - 
DATA_COUNT
public static final int DATA_COUNT- See Also:
 
 - 
INV_SLOT_START
private static final int INV_SLOT_START- See Also:
 
 - 
INV_SLOT_END
private static final int INV_SLOT_END- See Also:
 
 - 
USE_ROW_SLOT_START
private static final int USE_ROW_SLOT_START- See Also:
 
 - 
USE_ROW_SLOT_END
private static final int USE_ROW_SLOT_END- See Also:
 
 - 
container
 - 
data
 - 
level
 - 
recipeType
 - 
acceptedInputs
 - 
recipeBookType
 
 - 
 - 
Constructor Details
- 
AbstractFurnaceMenu
protected AbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory)  - 
AbstractFurnaceMenu
protected AbstractFurnaceMenu(MenuType<?> pMenuType, RecipeType<? extends AbstractCookingRecipe> pRecipeType, ResourceKey<RecipePropertySet> pAcceptedInputs, RecipeBookType pRecipeBookType, int pContainerId, Inventory pInventory, Container pContainer, ContainerData pData)  
 - 
 - 
Method Details
- 
fillCraftSlotsStackedContents
- Specified by:
 fillCraftSlotsStackedContentsin classRecipeBookMenu
 - 
getResultSlot
 - 
stillValid
Determines whether supplied player can use this container- Specified by:
 stillValidin classAbstractContainerMenu
 - 
quickMoveStack
Handle when the stack in slotindexis shift-clicked. Normally this moves the stack between the player inventory and the other inventory(s).- Specified by:
 quickMoveStackin classAbstractContainerMenu
 - 
canSmelt
 - 
isFuel
 - 
getBurnProgress
public float getBurnProgress() - 
getLitProgress
public float getLitProgress() - 
isLit
public boolean isLit() - 
getRecipeBookType
- Specified by:
 getRecipeBookTypein classRecipeBookMenu
 - 
handlePlacement
public RecipeBookMenu.PostPlaceAction handlePlacement(boolean p_361547_, boolean p_363944_, RecipeHolder<?> p_360938_, ServerLevel p_379475_, Inventory p_361954_) - Specified by:
 handlePlacementin classRecipeBookMenu
 
 -