Class AnimatedResultButton
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.recipebook.AnimatedResultButton
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Selectable
- Mappings:
Namespace Name official edr
intermediary net/minecraft/class_514
named 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
Modifier and TypeFieldDescriptionprivate static Identifier
private float
private AbstractRecipeScreenHandler<?>
private int
static int
private static float
private static int
private static Text
private RecipeBook
private RecipeResultCollection
private float
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
appendNarrations(NarrationMessageBuilder builder)
Recipe<?>
getTooltip(Screen screen)
int
getWidth()
boolean
protected boolean
isValidClickButton(int button)
void
renderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
setPos(int x, int y)
void
showResultCollection(RecipeResultCollection recipeResultCollection, RecipeBookResults recipeBookResults)
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getType, getYImage, isFocused, isHovered, isMouseOver, method_37021, method_37303, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderToolTip, setAlpha, setFocused, setMessage, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffset
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, keyPressed, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
BACKGROUND_TEXTURE
- Mappings:
Namespace Name Mixin selector official b
Ledr;b:Lww;
intermediary field_3143
Lnet/minecraft/class_514;field_3143:Lnet/minecraft/class_2960;
named BACKGROUND_TEXTURE
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;BACKGROUND_TEXTURE:Lnet/minecraft/util/Identifier;
-
field_32414
private static final float field_32414- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official c
Ledr;c:F
intermediary field_32414
Lnet/minecraft/class_514;field_32414:F
named field_32414
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32414:F
-
field_32415
private static final int field_32415- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official d
Ledr;d:I
intermediary field_32415
Lnet/minecraft/class_514;field_32415:I
named field_32415
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32415:I
-
field_32413
public static final int field_32413- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Ledr;a:I
intermediary field_32413
Lnet/minecraft/class_514;field_32413:I
named field_32413
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32413:I
-
MORE_RECIPES_TEXT
- Mappings:
Namespace Name Mixin selector official e
Ledr;e:Los;
intermediary field_26595
Lnet/minecraft/class_514;field_26595:Lnet/minecraft/class_2561;
named MORE_RECIPES_TEXT
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;MORE_RECIPES_TEXT:Lnet/minecraft/text/Text;
-
craftingScreenHandler
- Mappings:
Namespace Name Mixin selector official r
Ledr;r:Lbns;
intermediary field_3137
Lnet/minecraft/class_514;field_3137:Lnet/minecraft/class_1729;
named craftingScreenHandler
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
-
recipeBook
- Mappings:
Namespace Name Mixin selector official s
Ledr;s:Lafh;
intermediary field_3138
Lnet/minecraft/class_514;field_3138:Lnet/minecraft/class_3439;
named recipeBook
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;recipeBook:Lnet/minecraft/recipe/book/RecipeBook;
-
results
- Mappings:
Namespace Name Mixin selector official t
Ledr;t:Leds;
intermediary field_3142
Lnet/minecraft/class_514;field_3142:Lnet/minecraft/class_516;
named results
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;results:Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
time
private float time- Mappings:
Namespace Name Mixin selector official u
Ledr;u:F
intermediary field_3140
Lnet/minecraft/class_514;field_3140:F
named time
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;time:F
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector official v
Ledr;v:F
intermediary field_3139
Lnet/minecraft/class_514;field_3139:F
named bounce
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;bounce:F
-
currentResultIndex
private int currentResultIndex- Mappings:
Namespace Name Mixin selector official w
Ledr;w:I
intermediary field_3141
Lnet/minecraft/class_514;field_3141:I
named currentResultIndex
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentResultIndex:I
-
-
Constructor Details
-
AnimatedResultButton
public AnimatedResultButton()
-
-
Method Details
-
showResultCollection
public void showResultCollection(RecipeResultCollection recipeResultCollection, RecipeBookResults recipeBookResults)- Mappings:
Namespace Name Mixin selector official a
Ledr;a(Leds;Ledp;)V
intermediary method_2640
Lnet/minecraft/class_514;method_2640(Lnet/minecraft/class_516;Lnet/minecraft/class_513;)V
named showResultCollection
Lnet/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 a
Ledr;a()Leds;
intermediary method_2645
Lnet/minecraft/class_514;method_2645()Lnet/minecraft/class_516;
named getResultCollection
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResultCollection()Lnet/minecraft/client/gui/screen/recipebook/RecipeResultCollection;
-
setPos
public void setPos(int x, int y)- Mappings:
Namespace Name Mixin selector official a
Ledr;a(II)V
intermediary method_2641
Lnet/minecraft/class_514;method_2641(II)V
named setPos
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;setPos(II)V
-
renderButton
- Overrides:
renderButton
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official b
Ldwx;b(Ldqk;IIF)V
intermediary method_25359
Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
getResults
- Mappings:
Namespace Name Mixin selector official k
Ledr;k()Ljava/util/List;
intermediary method_2639
Lnet/minecraft/class_514;method_2639()Ljava/util/List;
named getResults
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResults()Ljava/util/List;
-
hasResults
public boolean hasResults()- Mappings:
Namespace Name Mixin selector official b
Ledr;b()Z
intermediary method_2642
Lnet/minecraft/class_514;method_2642()Z
named hasResults
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasResults()Z
-
currentRecipe
- Mappings:
Namespace Name Mixin selector official j
Ledr;j()Lbth;
intermediary method_2643
Lnet/minecraft/class_514;method_2643()Lnet/minecraft/class_1860;
named currentRecipe
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentRecipe()Lnet/minecraft/recipe/Recipe;
-
getTooltip
- Mappings:
Namespace Name Mixin selector official a
Ledr;a(Leap;)Ljava/util/List;
intermediary method_2644
Lnet/minecraft/class_514;method_2644(Lnet/minecraft/class_437;)Ljava/util/List;
named getTooltip
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getTooltip(Lnet/minecraft/client/gui/screen/Screen;)Ljava/util/List;
-
appendNarrations
- Mappings:
Namespace Name Mixin selector official a
Ldzd;a(Ldzc;)V
intermediary method_37020
Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
named appendNarrations
Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
-
getWidth
public int getWidth()- Overrides:
getWidth
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official f
Ldwx;f()I
intermediary method_25368
Lnet/minecraft/class_339;method_25368()I
named getWidth
Lnet/minecraft/client/gui/widget/ClickableWidget;getWidth()I
-
isValidClickButton
protected boolean isValidClickButton(int button)- Overrides:
isValidClickButton
in classClickableWidget
- Mappings:
Namespace Name Mixin selector official c_
Ldwx;c_(I)Z
intermediary method_25351
Lnet/minecraft/class_339;method_25351(I)Z
named isValidClickButton
Lnet/minecraft/client/gui/widget/ClickableWidget;isValidClickButton(I)Z
-