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
,RecipeBookTestMenu
-
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
Constructors -
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_, Recipe<?> p_40120_, ServerPlayer p_40121_) abstract boolean
recipeMatches
(Recipe<? super C> p_40118_) 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() -
getRecipeBookCategories
-
getRecipeBookType
-
shouldMoveToInventory
public abstract boolean shouldMoveToInventory(int p_150635_)
-