Class CraftingRecipeBookComponent
java.lang.Object
net.minecraft.client.gui.screens.recipebook.RecipeBookComponent<AbstractCraftingMenu>
net.minecraft.client.gui.screens.recipebook.CraftingRecipeBookComponent
- All Implemented Interfaces:
GuiEventListener
,Renderable
,TabOrderedElement
,NarratableEntry
,NarrationSupplier
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
RecipeBookComponent.TabInfo
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final WidgetSprites
private static final Component
private static final List
<RecipeBookComponent.TabInfo> Fields inherited from class net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
filterButton, IMAGE_HEIGHT, IMAGE_WIDTH, menu, minecraft, RECIPE_BOOK_LOCATION, RECIPE_BUTTON_SPRITES
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
canDisplay
(RecipeDisplay p_379470_) protected void
fillGhostRecipe
(GhostSlots p_379930_, RecipeDisplay p_379870_, ContextMap p_380956_) protected Component
protected void
protected boolean
isCraftingSlot
(Slot p_364400_) protected void
selectMatchingRecipes
(RecipeCollection p_363827_, StackedItemContents p_362085_) Methods inherited from class net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
charTyped, fillGhostRecipe, hasClickedOutside, init, isFocused, isMouseOver, isVisible, keyPressed, keyReleased, mouseClicked, narrationPriority, recipeShown, recipesUpdated, render, renderGhostRecipe, renderTooltip, sendUpdateSettings, setFocused, setVisible, slotClicked, tick, toggleVisibility, updateNarration, updateScreenPosition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
getNarratables, isActive
Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
FILTER_BUTTON_SPRITES
-
ONLY_CRAFTABLES_TOOLTIP
-
TABS
-
-
Constructor Details
-
CraftingRecipeBookComponent
-
-
Method Details
-
isCraftingSlot
- Specified by:
isCraftingSlot
in classRecipeBookComponent<AbstractCraftingMenu>
-
canDisplay
-
fillGhostRecipe
- Specified by:
fillGhostRecipe
in classRecipeBookComponent<AbstractCraftingMenu>
-
initFilterButtonTextures
protected void initFilterButtonTextures()- Specified by:
initFilterButtonTextures
in classRecipeBookComponent<AbstractCraftingMenu>
-
getRecipeFilterName
- Specified by:
getRecipeFilterName
in classRecipeBookComponent<AbstractCraftingMenu>
-
selectMatchingRecipes
- Specified by:
selectMatchingRecipes
in classRecipeBookComponent<AbstractCraftingMenu>
-