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 named net/minecraft/client/gui/screen/recipebook/AnimatedResultButtonintermediary net/minecraft/class_514official fym
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate floatprivate final CurrentIndexProviderprivate static final floatprivate static final intprivate static final Textprivate RecipeResultCollectionprivate List<AnimatedResultButton.Result> private static final Identifierprivate static final Identifierprivate static final Identifierprivate static final IdentifierFields 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 TypeMethodDescriptionvoidprivate static booleangetTooltip(ItemStack stack) intgetWidth()private booleanbooleanprotected booleanisValidClickButton(int button) voidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) voidshowResultCollection(RecipeResultCollection resultCollection, boolean filteringCraftable, RecipeBookResults results, ContextParameterMap context) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playClickSound, 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, getBorder, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
SLOT_MANY_CRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_MANY_CRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_MANY_CRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45555Lnet/minecraft/class_514;field_45555:Lnet/minecraft/class_2960;official aLfym;a:Lakv;
-
SLOT_CRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_CRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_CRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45556Lnet/minecraft/class_514;field_45556:Lnet/minecraft/class_2960;official bLfym;b:Lakv;
-
SLOT_MANY_UNCRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_MANY_UNCRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_MANY_UNCRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45557Lnet/minecraft/class_514;field_45557:Lnet/minecraft/class_2960;official cLfym;c:Lakv;
-
SLOT_UNCRAFTABLE_TEXTURE
- Mappings:
Namespace Name Mixin selector named SLOT_UNCRAFTABLE_TEXTURELnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_UNCRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45558Lnet/minecraft/class_514;field_45558:Lnet/minecraft/class_2960;official dLfym;d:Lakv;
-
field_32414
private static final float field_32414- See Also:
- Mappings:
Namespace Name Mixin selector named field_32414Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32414:Fintermediary field_32414Lnet/minecraft/class_514;field_32414:Fofficial eLfym;e:F
-
field_32415
private static final int field_32415- See Also:
- Mappings:
Namespace Name Mixin selector named field_32415Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32415:Iintermediary field_32415Lnet/minecraft/class_514;field_32415:Iofficial fLfym;f:I
-
MORE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector named MORE_RECIPES_TEXTLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;MORE_RECIPES_TEXT:Lnet/minecraft/text/Text;intermediary field_26595Lnet/minecraft/class_514;field_26595:Lnet/minecraft/class_2561;official mLfym;m:Lwp;
-
resultCollection
- Mappings:
Namespace Name Mixin selector named resultCollectionLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;resultCollection:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;intermediary field_3142Lnet/minecraft/class_514;field_3142:Lnet/minecraft/class_516;official nLfym;n:Lfyn;
-
results
- Mappings:
Namespace Name Mixin selector named resultsLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;results:Ljava/util/List;intermediary field_54834Lnet/minecraft/class_514;field_54834:Ljava/util/List;official oLfym;o:Ljava/util/List;
-
allResultsEqual
private boolean allResultsEqual- Mappings:
Namespace Name Mixin selector named allResultsEqualLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;allResultsEqual:Zintermediary field_55503Lnet/minecraft/class_514;field_55503:Zofficial pLfym;p:Z
-
currentIndexProvider
- Mappings:
Namespace Name Mixin selector named currentIndexProviderLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentIndexProvider:Lnet/minecraft/client/gui/screen/recipebook/CurrentIndexProvider;intermediary field_52846Lnet/minecraft/class_514;field_52846:Lnet/minecraft/class_9938;official qLfym;q:Lfyq;
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector named bounceLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;bounce:Fintermediary field_3139Lnet/minecraft/class_514;field_3139:Fofficial rLfym;r:F
-
-
Constructor Details
-
AnimatedResultButton
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;<init>(Lnet/minecraft/client/gui/screen/recipebook/CurrentIndexProvider;)Vintermediary <init>Lnet/minecraft/class_514;<init>(Lnet/minecraft/class_9938;)Vofficial <init>Lfym;<init>(Lfyq;)V
-
-
Method Details
-
showResultCollection
public void showResultCollection(RecipeResultCollection resultCollection, boolean filteringCraftable, RecipeBookResults results, ContextParameterMap context) - Mappings:
Namespace Name Mixin selector named showResultCollectionLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;showResultCollection(Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;ZLnet/minecraft/client/gui/screen/recipebook/RecipeBookResults;Lnet/minecraft/util/context/ContextParameterMap;)Vintermediary method_2640Lnet/minecraft/class_514;method_2640(Lnet/minecraft/class_516;ZLnet/minecraft/class_513;Lnet/minecraft/class_10352;)Vofficial aLfym;a(Lfyn;ZLfyk;Lbak;)V
-
areAllResultsEqual
- Mappings:
Namespace Name Mixin selector named areAllResultsEqualLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;areAllResultsEqual(Ljava/util/List;)Zintermediary method_65812Lnet/minecraft/class_514;method_65812(Ljava/util/List;)Zofficial aLfym;a(Ljava/util/List;)Z
-
getResultCollection
- Mappings:
Namespace Name Mixin selector named getResultCollectionLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResultCollection()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;intermediary method_2645Lnet/minecraft/class_514;method_2645()Lnet/minecraft/class_516;official aLfym;a()Lfyn;
-
renderWidget
- Specified by:
renderWidgetin classClickableWidget- Mappings:
Namespace Name Mixin selector named renderWidgetLnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_48579Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)Vofficial bLfos;b(Lfof;IIF)V
-
hasMultipleResults
private boolean hasMultipleResults()- Mappings:
Namespace Name Mixin selector named hasMultipleResultsLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasMultipleResults()Zintermediary method_62048Lnet/minecraft/class_514;method_62048()Zofficial gLfym;g()Z
-
hasSingleResult
public boolean hasSingleResult()- Mappings:
Namespace Name Mixin selector named hasSingleResultLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasSingleResult()Zintermediary method_2642Lnet/minecraft/class_514;method_2642()Zofficial bLfym;b()Z
-
getCurrentId
- Mappings:
Namespace Name Mixin selector named getCurrentIdLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getCurrentId()Lnet/minecraft/recipe/NetworkRecipeId;intermediary method_64881Lnet/minecraft/class_514;method_64881()Lnet/minecraft/class_10298;official cLfym;c()Ldcm;
-
getDisplayStack
- Mappings:
Namespace Name Mixin selector named getDisplayStackLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getDisplayStack()Lnet/minecraft/item/ItemStack;intermediary method_64882Lnet/minecraft/class_514;method_64882()Lnet/minecraft/class_1799;official eLfym;e()Lcwq;
-
getTooltip
- Mappings:
Namespace Name Mixin selector named getTooltipLnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getTooltip(Lnet/minecraft/item/ItemStack;)Ljava/util/List;intermediary method_2644Lnet/minecraft/class_514;method_2644(Lnet/minecraft/class_1799;)Ljava/util/List;official aLfym;a(Lcwq;)Ljava/util/List;
-
appendClickableNarrations
- Specified by:
appendClickableNarrationsin classClickableWidget- Mappings:
Namespace Name Mixin selector named appendClickableNarrationsLnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)Vintermediary method_47399Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)Vofficial aLfos;a(Lfsr;)V
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceWidget- Overrides:
getWidthin classClickableWidget- Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/client/gui/widget/Widget;getWidth()Iintermediary method_25368Lnet/minecraft/class_8021;method_25368()Iofficial ALfsk;A()I
-
isValidClickButton
protected boolean isValidClickButton(int button) - Overrides:
isValidClickButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector named isValidClickButtonLnet/minecraft/client/gui/widget/ClickableWidget;isValidClickButton(I)Zintermediary method_25351Lnet/minecraft/class_339;method_25351(I)Zofficial gLfos;g(I)Z
-