Class RecipeBookTestComponent
java.lang.Object
net.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
net.neoforged.neoforge.oldtest.recipebook.RecipeBookTestComponent
- All Implemented Interfaces:
net.minecraft.client.gui.components.events.GuiEventListener
,net.minecraft.client.gui.components.Renderable
,net.minecraft.client.gui.components.TabOrderedElement
,net.minecraft.client.gui.narration.NarratableEntry
,net.minecraft.client.gui.narration.NarrationSupplier
public class RecipeBookTestComponent
extends net.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.recipebook.RecipeBookComponent
net.minecraft.client.gui.screens.recipebook.RecipeBookComponent.TabInfo
Nested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriority
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final net.minecraft.client.gui.components.WidgetSprites
private static final List
<net.minecraft.client.gui.screens.recipebook.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 TypeMethodDescriptionprotected void
fillGhostRecipe
(net.minecraft.client.gui.screens.recipebook.GhostSlots p_380075_, net.minecraft.world.item.crafting.display.RecipeDisplay display, net.minecraft.util.context.ContextMap p_381016_) protected net.minecraft.network.chat.Component
protected void
protected boolean
isCraftingSlot
(net.minecraft.world.inventory.Slot p_361241_) protected void
selectMatchingRecipes
(net.minecraft.client.gui.screens.recipebook.RecipeCollection p_360862_, net.minecraft.world.entity.player.StackedItemContents p_363036_) 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
private static final net.minecraft.client.gui.components.WidgetSprites FILTER_BUTTON_SPRITES -
TABS
private static final List<net.minecraft.client.gui.screens.recipebook.RecipeBookComponent.TabInfo> TABS
-
-
Constructor Details
-
RecipeBookTestComponent
-
-
Method Details
-
initFilterButtonTextures
protected void initFilterButtonTextures()- Specified by:
initFilterButtonTextures
in classnet.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
-
isCraftingSlot
protected boolean isCraftingSlot(net.minecraft.world.inventory.Slot p_361241_) - Specified by:
isCraftingSlot
in classnet.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
-
selectMatchingRecipes
protected void selectMatchingRecipes(net.minecraft.client.gui.screens.recipebook.RecipeCollection p_360862_, net.minecraft.world.entity.player.StackedItemContents p_363036_) - Specified by:
selectMatchingRecipes
in classnet.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
-
getRecipeFilterName
protected net.minecraft.network.chat.Component getRecipeFilterName()- Specified by:
getRecipeFilterName
in classnet.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
-
fillGhostRecipe
protected void fillGhostRecipe(net.minecraft.client.gui.screens.recipebook.GhostSlots p_380075_, net.minecraft.world.item.crafting.display.RecipeDisplay display, net.minecraft.util.context.ContextMap p_381016_) - Specified by:
fillGhostRecipe
in classnet.minecraft.client.gui.screens.recipebook.RecipeBookComponent<RecipeBookTestMenu>
-