Package net.minecraft.world.inventory
Class RecipeBookMenu<C extends Container>
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
net.minecraft.world.inventory.RecipeBookMenu<C>
- Direct Known Subclasses:
AbstractFurnaceMenu
,CraftingMenu
,InventoryMenu
-
Field Summary
Fields 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, slots
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract void
abstract void
fillCraftSlotsStackedContents
(StackedContents p_40117_) abstract int
abstract int
abstract RecipeBookType
abstract int
abstract int
getSize()
void
handlePlacement
(boolean p_40119_, RecipeHolder<?> p_297420_, ServerPlayer p_40121_) abstract boolean
recipeMatches
(RecipeHolder<? extends Recipe<C>> p_297792_) abstract boolean
shouldMoveToInventory
(int p_150635_) Methods inherited from class 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, quickMoveStack, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, stillValid, suppressRemoteUpdates, transferState
-
Constructor Details
-
RecipeBookMenu
-
-
Method Details
-
handlePlacement
-
fillCraftSlotsStackedContents
-
clearCraftingContent
public abstract void clearCraftingContent() -
recipeMatches
-
getResultSlotIndex
public abstract int getResultSlotIndex() -
getGridWidth
public abstract int getGridWidth() -
getGridHeight
public abstract int getGridHeight() -
getSize
public abstract int getSize() -
getRecipeBookType
-
shouldMoveToInventory
public abstract boolean shouldMoveToInventory(int p_150635_) -
getRecipeBookCategories
-