Class AnimatedResultButton
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.recipebook.AnimatedResultButton
- All Implemented Interfaces:
Drawable,Element,Narratable,Navigable,Selectable,Widget
- Mappings:
Namespace Name official fgsintermediary net/minecraft/class_514named net/minecraft/client/gui/screen/recipebook/AnimatedResultButton
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate AbstractRecipeScreenHandler<?>private intstatic final intprivate static final floatprivate static final intprivate static final Textprivate RecipeBookprivate RecipeResultCollectionprivate static final Identifierprivate static final Identifierprivate static final Identifierprivate static final Identifierprivate floatFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRecipeEntry<?>private List<RecipeEntry<?>>intgetWidth()booleanprotected booleanisValidClickButton(int button) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) voidshowResultCollection(RecipeResultCollection resultCollection, RecipeBookResults results) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getType, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods 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
charTyped, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
SLOT_MANY_CRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official bLfgs;b:Lahg;intermediary field_45555Lnet/minecraft/class_514;field_45555:Lnet/minecraft/class_2960;named SLOT_MANY_CRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_MANY_CRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
SLOT_CRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official cLfgs;c:Lahg;intermediary field_45556Lnet/minecraft/class_514;field_45556:Lnet/minecraft/class_2960;named SLOT_CRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_CRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
SLOT_MANY_UNCRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official dLfgs;d:Lahg;intermediary field_45557Lnet/minecraft/class_514;field_45557:Lnet/minecraft/class_2960;named SLOT_MANY_UNCRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_MANY_UNCRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
SLOT_UNCRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector official eLfgs;e:Lahg;intermediary field_45558Lnet/minecraft/class_514;field_45558:Lnet/minecraft/class_2960;named SLOT_UNCRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_UNCRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;
-
field_32414
private static final float field_32414- See Also:
- Mappings:
Namespace Name Mixin selector official fLfgs;f:Fintermediary field_32414Lnet/minecraft/class_514;field_32414:Fnamed field_32414Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32414:F
-
field_32415
private static final int field_32415- See Also:
- Mappings:
Namespace Name Mixin selector official mLfgs;m:Iintermediary field_32415Lnet/minecraft/class_514;field_32415:Inamed field_32415Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32415:I
-
field_32413
public static final int field_32413- See Also:
- Mappings:
Namespace Name Mixin selector official aLfgs;a:Iintermediary field_32413Lnet/minecraft/class_514;field_32413:Inamed field_32413Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32413:I
-
MORE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector official nLfgs;n:Lvf;intermediary field_26595Lnet/minecraft/class_514;field_26595:Lnet/minecraft/class_2561;named MORE_RECIPES_TEXTLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;MORE_RECIPES_TEXT:Lnet/minecraft/text/Text;
-
craftingScreenHandler
- Mappings:
Namespace Name Mixin selector official oLfgs;o:Lcjo;intermediary field_3137Lnet/minecraft/class_514;field_3137:Lnet/minecraft/class_1729;named craftingScreenHandlerLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
-
recipeBook
- Mappings:
Namespace Name Mixin selector official pLfgs;p:Larv;intermediary field_3138Lnet/minecraft/class_514;field_3138:Lnet/minecraft/class_3439;named recipeBookLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;recipeBook:Lnet/minecraft/recipe/book/RecipeBook;
-
resultCollection
- Mappings:
Namespace Name Mixin selector official qLfgs;q:Lfgt;intermediary field_3142Lnet/minecraft/class_514;field_3142:Lnet/minecraft/class_516;named resultCollectionLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;resultCollection:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
time
private float time- Mappings:
Namespace Name Mixin selector official rLfgs;r:Fintermediary field_3140Lnet/minecraft/class_514;field_3140:Fnamed timeLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;time:F
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector official tLfgs;t:Fintermediary field_3139Lnet/minecraft/class_514;field_3139:Fnamed bounceLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;bounce:F
-
currentResultIndex
private int currentResultIndex- Mappings:
Namespace Name Mixin selector official uLfgs;u:Iintermediary field_3141Lnet/minecraft/class_514;field_3141:Inamed currentResultIndexLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentResultIndex:I
-
-
Constructor Details
-
AnimatedResultButton
public AnimatedResultButton()
-
-
Method Details
-
showResultCollection
public void showResultCollection(RecipeResultCollection resultCollection, RecipeBookResults results) - Mappings:
Namespace Name Mixin selector official aLfgs;a(Lfgt;Lfgq;)Vintermediary method_2640Lnet/minecraft/class_514;method_2640(Lnet/minecraft/class_516;Lnet/minecraft/class_513;)Vnamed showResultCollectionLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;showResultCollection(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;Lnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;)V
-
getResultCollection
- Mappings:
Namespace Name Mixin selector official aLfgs;a()Lfgt;intermediary method_2645Lnet/minecraft/class_514;method_2645()Lnet/minecraft/class_516;named getResultCollectionLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResultCollection()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
renderWidget
- Specified by:
renderWidgetin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLexe;b(Lewu;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vnamed renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
-
getResults
- Mappings:
Namespace Name Mixin selector official fLfgs;f()Ljava/util/List;intermediary method_2639Lnet/minecraft/class_514;method_2639()Ljava/util/List;named getResultsLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResults()Ljava/util/List;
-
hasResults
public boolean hasResults()- Mappings:
Namespace Name Mixin selector official bLfgs;b()Zintermediary method_2642Lnet/minecraft/class_514;method_2642()Znamed hasResultsLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasResults()Z
-
currentRecipe
- Mappings:
Namespace Name Mixin selector official dLfgs;d()Lcqe;intermediary method_2643Lnet/minecraft/class_514;method_2643()Lnet/minecraft/class_8786;named currentRecipeLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentRecipe()Lnet/minecraft/recipe/RecipeEntry;
-
getTooltip
- Mappings:
Namespace Name Mixin selector official eLfgs;e()Ljava/util/List;intermediary method_2644Lnet/minecraft/class_514;method_2644()Ljava/util/List;named getTooltipLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getTooltip()Ljava/util/List;
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector official aLexe;a(Lfaz;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vnamed appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceWidget- Overrides:
getWidthin classClickableWidget- Mappings:
Namespace Name Mixin selector official wLfas;w()Iintermediary method_25368Lnet/minecraft/class_8021;method_25368()Inamed getWidthLnet/minecraft/client/gui/widget/Widget;getWidth()I
-
isValidClickButton
protected boolean isValidClickButton(int button) - Overrides:
isValidClickButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official kLexe;k(I)Zintermediary method_25351Lnet/minecraft/class_339;method_25351(I)Znamed isValidClickButtonLnet/minecraft/client/gui/widget/ClickableWidget;isValidClickButton(I)Z
-