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.TabInfoNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
NarratableEntry.NarrationPriority -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final WidgetSpritesprivate static final Componentprivate 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_SPRITESFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanDisplay(RecipeDisplay pRecipeDisplay) protected voidfillGhostRecipe(GhostSlots p_379930_, RecipeDisplay p_379870_, ContextMap p_380956_) protected Componentprotected voidprotected booleanisCraftingSlot(Slot p_364400_) protected voidselectMatchingRecipes(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, updateScreenPositionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, getCurrentFocusPath, getRectangle, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.narration.NarratableEntry
getNarratables, isActiveMethods 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:
isCraftingSlotin classRecipeBookComponent<AbstractCraftingMenu>
-
canDisplay
-
fillGhostRecipe
- Specified by:
fillGhostRecipein classRecipeBookComponent<AbstractCraftingMenu>
-
initFilterButtonTextures
protected void initFilterButtonTextures()- Specified by:
initFilterButtonTexturesin classRecipeBookComponent<AbstractCraftingMenu>
-
getRecipeFilterName
- Specified by:
getRecipeFilterNamein classRecipeBookComponent<AbstractCraftingMenu>
-
selectMatchingRecipes
- Specified by:
selectMatchingRecipesin classRecipeBookComponent<AbstractCraftingMenu>
-