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/AnimatedResultButton- intermediary - net/minecraft/class_514- official - fym
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier 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.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.ClickableWidgetappendDefaultNarrations, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
SLOT_MANY_CRAFTABLE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - SLOT_MANY_CRAFTABLE_TEXTURE- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_MANY_CRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_45555- Lnet/minecraft/class_514;field_45555:Lnet/minecraft/class_2960;- official - a- Lfym;a:Lakv;
 
- 
SLOT_CRAFTABLE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - SLOT_CRAFTABLE_TEXTURE- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_CRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_45556- Lnet/minecraft/class_514;field_45556:Lnet/minecraft/class_2960;- official - b- Lfym;b:Lakv;
 
- 
SLOT_MANY_UNCRAFTABLE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - SLOT_MANY_UNCRAFTABLE_TEXTURE- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_MANY_UNCRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_45557- Lnet/minecraft/class_514;field_45557:Lnet/minecraft/class_2960;- official - c- Lfym;c:Lakv;
 
- 
SLOT_UNCRAFTABLE_TEXTURE- Mappings:
- Namespace - Name - Mixin selector - named - SLOT_UNCRAFTABLE_TEXTURE- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;SLOT_UNCRAFTABLE_TEXTURE:Lnet/minecraft/util/Identifier;- intermediary - field_45558- Lnet/minecraft/class_514;field_45558:Lnet/minecraft/class_2960;- official - d- Lfym;d:Lakv;
 
- 
field_32414private static final float field_32414- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_32414- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32414:F- intermediary - field_32414- Lnet/minecraft/class_514;field_32414:F- official - e- Lfym;e:F
 
- 
field_32415private static final int field_32415- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_32415- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32415:I- intermediary - field_32415- Lnet/minecraft/class_514;field_32415:I- official - f- Lfym;f:I
 
- 
MORE_RECIPES_TEXT- Mappings:
- Namespace - Name - Mixin selector - named - MORE_RECIPES_TEXT- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;MORE_RECIPES_TEXT:Lnet/minecraft/text/Text;- intermediary - field_26595- Lnet/minecraft/class_514;field_26595:Lnet/minecraft/class_2561;- official - m- Lfym;m:Lwp;
 
- 
resultCollection- Mappings:
- Namespace - Name - Mixin selector - named - resultCollection- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;resultCollection:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;- intermediary - field_3142- Lnet/minecraft/class_514;field_3142:Lnet/minecraft/class_516;- official - n- Lfym;n:Lfyn;
 
- 
results- Mappings:
- Namespace - Name - Mixin selector - named - results- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;results:Ljava/util/List;- intermediary - field_54834- Lnet/minecraft/class_514;field_54834:Ljava/util/List;- official - o- Lfym;o:Ljava/util/List;
 
- 
allResultsEqualprivate boolean allResultsEqual- Mappings:
- Namespace - Name - Mixin selector - named - allResultsEqual- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;allResultsEqual:Z- intermediary - field_55503- Lnet/minecraft/class_514;field_55503:Z- official - p- Lfym;p:Z
 
- 
currentIndexProvider- Mappings:
- Namespace - Name - Mixin selector - named - currentIndexProvider- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentIndexProvider:Lnet/minecraft/client/gui/screen/recipebook/CurrentIndexProvider;- intermediary - field_52846- Lnet/minecraft/class_514;field_52846:Lnet/minecraft/class_9938;- official - q- Lfym;q:Lfyq;
 
- 
bounceprivate float bounce- Mappings:
- Namespace - Name - Mixin selector - named - bounce- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;bounce:F- intermediary - field_3139- Lnet/minecraft/class_514;field_3139:F- official - r- Lfym;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;)V- intermediary - <init>- Lnet/minecraft/class_514;<init>(Lnet/minecraft/class_9938;)V- official - <init>- Lfym;<init>(Lfyq;)V
 
 
- 
- 
Method Details- 
showResultCollectionpublic void showResultCollection(RecipeResultCollection resultCollection, boolean filteringCraftable, RecipeBookResults results, ContextParameterMap context) - Mappings:
- Namespace - Name - Mixin selector - named - showResultCollection- Lnet/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;)V- intermediary - method_2640- Lnet/minecraft/class_514;method_2640(Lnet/minecraft/class_516;ZLnet/minecraft/class_513;Lnet/minecraft/class_10352;)V- official - a- Lfym;a(Lfyn;ZLfyk;Lbak;)V
 
- 
areAllResultsEqual- Mappings:
- Namespace - Name - Mixin selector - named - areAllResultsEqual- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;areAllResultsEqual(Ljava/util/List;)Z- intermediary - method_65812- Lnet/minecraft/class_514;method_65812(Ljava/util/List;)Z- official - a- Lfym;a(Ljava/util/List;)Z
 
- 
getResultCollection- Mappings:
- Namespace - Name - Mixin selector - named - getResultCollection- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResultCollection()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;- intermediary - method_2645- Lnet/minecraft/class_514;method_2645()Lnet/minecraft/class_516;- official - a- Lfym;a()Lfyn;
 
- 
renderWidget- Specified by:
- renderWidgetin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - renderWidget- Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_48579- Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V- official - b- Lfos;b(Lfof;IIF)V
 
- 
hasMultipleResultsprivate boolean hasMultipleResults()- Mappings:
- Namespace - Name - Mixin selector - named - hasMultipleResults- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasMultipleResults()Z- intermediary - method_62048- Lnet/minecraft/class_514;method_62048()Z- official - g- Lfym;g()Z
 
- 
hasSingleResultpublic boolean hasSingleResult()- Mappings:
- Namespace - Name - Mixin selector - named - hasSingleResult- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasSingleResult()Z- intermediary - method_2642- Lnet/minecraft/class_514;method_2642()Z- official - b- Lfym;b()Z
 
- 
getCurrentId- Mappings:
- Namespace - Name - Mixin selector - named - getCurrentId- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getCurrentId()Lnet/minecraft/recipe/NetworkRecipeId;- intermediary - method_64881- Lnet/minecraft/class_514;method_64881()Lnet/minecraft/class_10298;- official - c- Lfym;c()Ldcm;
 
- 
getDisplayStack- Mappings:
- Namespace - Name - Mixin selector - named - getDisplayStack- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getDisplayStack()Lnet/minecraft/item/ItemStack;- intermediary - method_64882- Lnet/minecraft/class_514;method_64882()Lnet/minecraft/class_1799;- official - e- Lfym;e()Lcwq;
 
- 
getTooltip- Mappings:
- Namespace - Name - Mixin selector - named - getTooltip- Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getTooltip(Lnet/minecraft/item/ItemStack;)Ljava/util/List;- intermediary - method_2644- Lnet/minecraft/class_514;method_2644(Lnet/minecraft/class_1799;)Ljava/util/List;- official - a- Lfym;a(Lcwq;)Ljava/util/List;
 
- 
appendClickableNarrations- Specified by:
- appendClickableNarrationsin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - appendClickableNarrations- Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_47399- Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V- official - a- Lfos;a(Lfsr;)V
 
- 
getWidthpublic int getWidth()- Specified by:
- getWidthin interface- Widget
- Overrides:
- getWidthin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - getWidth- Lnet/minecraft/client/gui/widget/Widget;getWidth()I- intermediary - method_25368- Lnet/minecraft/class_8021;method_25368()I- official - A- Lfsk;A()I
 
- 
isValidClickButtonprotected boolean isValidClickButton(int button) - Overrides:
- isValidClickButtonin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - named - isValidClickButton- Lnet/minecraft/client/gui/widget/ClickableWidget;isValidClickButton(I)Z- intermediary - method_25351- Lnet/minecraft/class_339;method_25351(I)Z- official - g- Lfos;g(I)Z
 
 
-