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 fxx
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private final CurrentIndexProvider
private static final float
private static final int
private static final Text
private RecipeResultCollection
private List
<AnimatedResultButton.Result> private static final Identifier
private static final Identifier
private static final Identifier
private static final Identifier
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
getTooltip
(ItemStack stack) int
getWidth()
private boolean
boolean
protected boolean
isValidClickButton
(int button) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
showResultCollection
(RecipeResultCollection resultCollection, boolean filteringCraftable, RecipeBookResults results, ContextParameterMap context) 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, 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, setY
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
charTyped, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolled
Methods 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_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
Lfxx;a:Lalz;
-
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
Lfxx;b:Lalz;
-
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
Lfxx;c:Lalz;
-
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
Lfxx;d:Lalz;
-
field_32414
private 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
Lfxx;e:F
-
field_32415
private 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
Lfxx;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
Lfxx;m:Lxv;
-
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
Lfxx;n:Lfxy;
-
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
Lfxx;o:Ljava/util/List;
-
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 p
Lfxx;p:Lfyb;
-
bounce
private 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 q
Lfxx;q: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>
Lfxx;<init>(Lfyb;)V
-
-
Method Details
-
showResultCollection
public 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
Lfxx;a(Lfxy;ZLfxv;Lbbp;)V
-
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
Lfxx;a()Lfxy;
-
renderWidget
- Specified by:
renderWidget
in classClickableWidget
- 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
Lfoc;b(Lfnr;IIF)V
-
hasMultipleResults
private 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
Lfxx;g()Z
-
hasSingleResult
public 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
Lfxx;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
Lfxx;c()Lddk;
-
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
Lfxx;e()Lcxo;
-
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
Lfxx;a(Lcxo;)Ljava/util/List;
-
appendClickableNarrations
- Specified by:
appendClickableNarrations
in classClickableWidget
- 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
Lfoc;a(Lfsc;)V
-
getWidth
public int getWidth()- Specified by:
getWidth
in interfaceWidget
- Overrides:
getWidth
in classClickableWidget
- 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 y
Lfrv;y()I
-
isValidClickButton
protected boolean isValidClickButton(int button) - Overrides:
isValidClickButton
in classClickableWidget
- 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 h
Lfoc;h(I)Z
-