Class AbstractCraftingRecipeBookWidget
java.lang.Object
net.minecraft.client.gui.screen.recipebook.RecipeBookWidget<AbstractCraftingScreenHandler>
net.minecraft.client.gui.screen.recipebook.AbstractCraftingRecipeBookWidget
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable
@Environment(CLIENT)
public class AbstractCraftingRecipeBookWidget
extends RecipeBookWidget<AbstractCraftingScreenHandler>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/AbstractCraftingRecipeBookWidgetintermediary net/minecraft/class_9933official fyf
-
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 List<RecipeBookWidget.Tab> private static final ButtonTexturesprivate static final TextFields inherited from class net.minecraft.client.gui.screen.recipebook.RecipeBookWidget
BUTTON_TEXTURES, client, craftingScreenHandler, field_32408, field_32409, TEXTURE, toggleCraftableButtonFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCraftingRecipeBookWidget(AbstractCraftingScreenHandler screenHandler) -
Method Summary
Modifier and TypeMethodDescriptionprivate booleancanDisplay(RecipeDisplay display) protected Textprotected booleanprotected 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, 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, mouseDragged, mouseMoved, mouseReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedParts, isNarratable
-
Field Details
-
TEXTURES
- Mappings:
Namespace Name Mixin selector named TEXTURESLnet/minecraft/client/gui/screen/recipebook/AbstractCraftingRecipeBookWidget;TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;intermediary field_52824Lnet/minecraft/class_9933;field_52824:Lnet/minecraft/class_8666;official hLfyf;h:Lfqh;
-
TOGGLE_CRAFTABLE_TEXT
- Mappings:
Namespace Name Mixin selector named TOGGLE_CRAFTABLE_TEXTLnet/minecraft/client/gui/screen/recipebook/AbstractCraftingRecipeBookWidget;TOGGLE_CRAFTABLE_TEXT:Lnet/minecraft/text/Text;intermediary field_52825Lnet/minecraft/class_9933;field_52825:Lnet/minecraft/class_2561;official iLfyf;i:Lwp;
-
TABS
- Mappings:
Namespace Name Mixin selector named TABSLnet/minecraft/client/gui/screen/recipebook/AbstractCraftingRecipeBookWidget;TABS:Ljava/util/List;intermediary field_54827Lnet/minecraft/class_9933;field_54827:Ljava/util/List;official jLfyf;j:Ljava/util/List;
-
-
Constructor Details
-
AbstractCraftingRecipeBookWidget
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/AbstractCraftingRecipeBookWidget;<init>(Lnet/minecraft/screen/AbstractCraftingScreenHandler;)Vintermediary <init>Lnet/minecraft/class_9933;<init>(Lnet/minecraft/class_9884;)Vofficial <init>Lfyf;<init>(Lcse;)V
-
-
Method Details
-
isValid
- Specified by:
isValidin classRecipeBookWidget<AbstractCraftingScreenHandler>- Mappings:
Namespace Name Mixin selector named isValidLnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget;isValid(Lnet/minecraft/screen/slot/Slot;)Zintermediary method_62023Lnet/minecraft/class_507;method_62023(Lnet/minecraft/class_1735;)Zofficial aLfyj;a(Lcua;)Z
-
canDisplay
- Mappings:
Namespace Name Mixin selector named canDisplayLnet/minecraft/client/gui/screen/recipebook/AbstractCraftingRecipeBookWidget;canDisplay(Lnet/minecraft/recipe/display/RecipeDisplay;)Zintermediary method_64870Lnet/minecraft/class_9933;method_64870(Lnet/minecraft/class_10295;)Zofficial bLfyf;b(Ldck;)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 aLfyj;a(Lfyh;Ldck;Lbak;)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 aLfyj;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 bLfyj;b()Lwp;
-
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 aLfyj;a(Lfyn;Lcpd;)V
-