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 p_379470_) protected voidfillGhostRecipe(GhostSlots pGhostSlots, RecipeDisplay pRecipeDisplay, ContextMap pContextMap) protected Componentprotected voidprotected booleanisCraftingSlot(Slot pSlot) protected voidselectMatchingRecipes(RecipeCollection pPossibleRecipes, StackedItemContents pStackedItemContents) 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
protected void fillGhostRecipe(GhostSlots pGhostSlots, RecipeDisplay pRecipeDisplay, ContextMap pContextMap) - Specified by:
fillGhostRecipein classRecipeBookComponent<AbstractCraftingMenu>
-
initFilterButtonTextures
protected void initFilterButtonTextures()- Specified by:
initFilterButtonTexturesin classRecipeBookComponent<AbstractCraftingMenu>
-
getRecipeFilterName
- Specified by:
getRecipeFilterNamein classRecipeBookComponent<AbstractCraftingMenu>
-
selectMatchingRecipes
protected void selectMatchingRecipes(RecipeCollection pPossibleRecipes, StackedItemContents pStackedItemContents) - Specified by:
selectMatchingRecipesin classRecipeBookComponent<AbstractCraftingMenu>
-