Class CraftingRecipeBookWidget
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget<AbstractCraftingScreenHandler>
net.minecraft.client.gui.screen.recipebook.CraftingRecipeBookWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable
@Environment(CLIENT)
public class CraftingRecipeBookWidget
extends RecipeBookWidget<AbstractCraftingScreenHandler>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidgetintermediary net/minecraft/class_9933official gub
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
RecipeBookWidget.TabNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ButtonTexturesprivate static final List<RecipeBookWidget.Tab> private static final TextFields inherited from class net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
BUTTON_TEXTURES, client, craftingScreenHandler, field_32408, field_32409, TEXTURE, toggleCraftableButton -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanDisplay(RecipeDisplay display) protected Textprotected booleanisCraftingSlot(Slot slot) Returns whether a slot is involved in crafting for this recipe book widget's recipes.protected voidpopulateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder) protected voidprotected voidshowGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context) Methods inherited from class net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
appendNarrations, charTyped, drawGhostSlots, drawTooltip, findLeftEdge, getType, initialize, isClickOutsideBounds, isFocused, isMouseOver, isOpen, keyPressed, keyReleased, mouseClicked, mouseDragged, onCraftFailed, onMouseClick, onRecipeDisplayed, refresh, render, sendBookDataPacket, setFocused, setOpen, toggleOpen, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getFocusedPath, getNavigationFocus, getNavigationPath, isClickable, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedParts, isInteractable
-
Field Details
-
FILTER_BUTTON_TEXTURES
- Mappings:
Namespace Name Mixin selector named FILTER_BUTTON_TEXTURESLnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;FILTER_BUTTON_TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_52824Lnet/minecraft/class_9933;field_52824:Lnet/minecraft/class_8666;official hLgub;h:Lgig;
-
TOGGLE_CRAFTABLE_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLE_CRAFTABLE_TEXTLnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;TOGGLE_CRAFTABLE_TEXT:Lnet/minecraft/text/Text;intermediary field_52825Lnet/minecraft/class_9933;field_52825:Lnet/minecraft/class_2561;official iLgub;i:Lym;
-
TABS
- Mappings:
Namespace Name Mixin selector named TABSLnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;TABS:Ljava/util/List;intermediary field_54827Lnet/minecraft/class_9933;field_54827:Ljava/util/List;official jLgub;j:Ljava/util/List;
-
-
Constructor Details
-
CraftingRecipeBookWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;<init>(Lnet/minecraft/screen/AbstractCraftingScreenHandler;)Vintermediary <init>Lnet/minecraft/class_9933;<init>(Lnet/minecraft/class_9884;)Vofficial <init>Lgub;<init>(Ldfx;)V
-
-
Method Details
-
isCraftingSlot
Returns whether a slot is involved in crafting for this recipe book widget's recipes.- Specified by:
isCraftingSlotin classRecipeBookWidget<AbstractCraftingScreenHandler>- Returns:
- whether a slot is involved in crafting for this recipe book widget's recipes
- Mappings:
Namespace Name Mixin selector named isCraftingSlotLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isCraftingSlot(Lnet/minecraft/screen/slot/Slot;)Zintermediary method_62023Lnet/minecraft/class_507;method_62023(Lnet/minecraft/class_1735;)Zofficial aLguf;a(Ldhu;)Z
-
canDisplay
- Mappings:
Namespace Name Mixin selector named canDisplayLnet/minecraft/client/gui/screen/recipebook/CraftingRecipeBookWidget;canDisplay(Lnet/minecraft/recipe/display/RecipeDisplay;)Zintermediary method_64870Lnet/minecraft/class_9933;method_64870(Lnet/minecraft/class_10295;)Zofficial bLgub;b(Ldqj;)Z
-
showGhostRecipe
protected void showGhostRecipe(GhostRecipe ghostRecipe, RecipeDisplay display, ContextParameterMap context) - Specified by:
showGhostRecipein classRecipeBookWidget<AbstractCraftingScreenHandler>- Mappings:
Namespace Name Mixin selector named showGhostRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;showGhostRecipe(Lnet/minecraft/client/gui/screen/recipebook/GhostRecipe;Lnet/minecraft/recipe/display/RecipeDisplay;Lnet/minecraft/util/context/ContextParameterMap;)Vintermediary method_64868Lnet/minecraft/class_507;method_64868(Lnet/minecraft/class_9934;Lnet/minecraft/class_10295;Lnet/minecraft/class_10352;)Vofficial aLguf;a(Lgud;Ldqj;Lbhv;)V
-
setBookButtonTexture
protected void setBookButtonTexture()- Specified by:
setBookButtonTexturein classRecipeBookWidget<AbstractCraftingScreenHandler>- Mappings:
Namespace Name Mixin selector named setBookButtonTextureLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;setBookButtonTexture()Vintermediary method_2585Lnet/minecraft/class_507;method_2585()Vofficial aLguf;a()V
-
getToggleCraftableButtonText
- Specified by:
getToggleCraftableButtonTextin classRecipeBookWidget<AbstractCraftingScreenHandler>- Mappings:
Namespace Name Mixin selector named getToggleCraftableButtonTextLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;getToggleCraftableButtonText()Lnet/minecraft/text/Text;intermediary method_17064Lnet/minecraft/class_507;method_17064()Lnet/minecraft/class_2561;official dLguf;d()Lym;
-
populateRecipes
protected void populateRecipes(RecipeResultCollection recipeResultCollection, RecipeFinder recipeFinder) - Specified by:
populateRecipesin classRecipeBookWidget<AbstractCraftingScreenHandler>- Mappings:
Namespace Name Mixin selector named populateRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;populateRecipes(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;Lnet/minecraft/recipe/RecipeFinder;)Vintermediary method_62024Lnet/minecraft/class_507;method_62024(Lnet/minecraft/class_516;Lnet/minecraft/class_9875;)Vofficial aLguf;a(Lguj;Ldcj;)V
-