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 frj
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private AbstractRecipeScreenHandler
<?, ?> private int
static final int
private static final float
private static final int
private static final Text
private RecipeBook
private RecipeResultCollection
private static final Identifier
private static final Identifier
private static final Identifier
private static final Identifier
private float
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
RecipeEntry
<?> private List
<RecipeEntry<?>> int
getWidth()
boolean
protected boolean
isValidClickButton
(int button) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) void
showResultCollection
(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, 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 b
Lfrj;b:Lakk;
-
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 c
Lfrj;c:Lakk;
-
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 d
Lfrj;d:Lakk;
-
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 e
Lfrj;e:Lakk;
-
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 f
Lfrj;f: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 m
Lfrj;m:I
-
field_32413
public static final int field_32413- See Also:
- Mappings:
Namespace Name Mixin selector named field_32413
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;field_32413:I
intermediary field_32413
Lnet/minecraft/class_514;field_32413:I
official a
Lfrj;a: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 n
Lfrj;n:Lwu;
-
craftingScreenHandler
- Mappings:
Namespace Name Mixin selector named craftingScreenHandler
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;craftingScreenHandler:Lnet/minecraft/screen/AbstractRecipeScreenHandler;
intermediary field_3137
Lnet/minecraft/class_514;field_3137:Lnet/minecraft/class_1729;
official o
Lfrj;o:Lcqw;
-
recipeBook
- Mappings:
Namespace Name Mixin selector named recipeBook
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;recipeBook:Lnet/minecraft/recipe/book/RecipeBook;
intermediary field_3138
Lnet/minecraft/class_514;field_3138:Lnet/minecraft/class_3439;
official p
Lfrj;p:Lavk;
-
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 q
Lfrj;q:Lfrk;
-
time
private float time- Mappings:
Namespace Name Mixin selector named time
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;time:F
intermediary field_3140
Lnet/minecraft/class_514;field_3140:F
official r
Lfrj;r:F
-
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 s
Lfrj;s:F
-
currentResultIndex
private int currentResultIndex- Mappings:
Namespace Name Mixin selector named currentResultIndex
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentResultIndex:I
intermediary field_3141
Lnet/minecraft/class_514;field_3141:I
official u
Lfrj;u:I
-
-
Constructor Details
-
AnimatedResultButton
public AnimatedResultButton()
-
-
Method Details
-
showResultCollection
public void showResultCollection(RecipeResultCollection resultCollection, RecipeBookResults results) - Mappings:
Namespace Name Mixin selector 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
intermediary method_2640
Lnet/minecraft/class_514;method_2640(Lnet/minecraft/class_516;Lnet/minecraft/class_513;)V
official a
Lfrj;a(Lfrk;Lfrh;)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
Lfrj;a()Lfrk;
-
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
Lfhs;b(Lfhh;IIF)V
-
getResults
- Mappings:
Namespace Name Mixin selector named getResults
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getResults()Ljava/util/List;
intermediary method_2639
Lnet/minecraft/class_514;method_2639()Ljava/util/List;
official f
Lfrj;f()Ljava/util/List;
-
hasResults
public boolean hasResults()- Mappings:
Namespace Name Mixin selector named hasResults
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;hasResults()Z
intermediary method_2642
Lnet/minecraft/class_514;method_2642()Z
official b
Lfrj;b()Z
-
currentRecipe
- Mappings:
Namespace Name Mixin selector named currentRecipe
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;currentRecipe()Lnet/minecraft/recipe/RecipeEntry;
intermediary method_2643
Lnet/minecraft/class_514;method_2643()Lnet/minecraft/class_8786;
official c
Lfrj;c()Lcyl;
-
getTooltip
- Overrides:
getTooltip
in classClickableWidget
- Mappings:
Namespace Name Mixin selector named getTooltip
Lnet/minecraft/client/gui/screen/recipebook/AnimatedResultButton;getTooltip()Ljava/util/List;
intermediary method_2644
Lnet/minecraft/class_514;method_2644()Ljava/util/List;
official e
Lfrj;e()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
Lfhs;a(Lflq;)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
Lflj;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 j
Lfhs;j(I)Z
-