Class RecipeAlternativesWidget.AlternativeButtonWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.recipebook.RecipeAlternativesWidget.AlternativeButtonWidget
- All Implemented Interfaces:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
,RecipeGridAligner<Ingredient>
- Direct Known Subclasses:
RecipeAlternativesWidget.FurnaceAlternativeButtonWidget
- Enclosing class:
RecipeAlternativesWidget
@Environment(CLIENT)
private class RecipeAlternativesWidget.AlternativeButtonWidget
extends ClickableWidget
implements RecipeGridAligner<Ingredient>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget
intermediary net/minecraft/class_508$class_509
official frf$a
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate final boolean
(package private) final RecipeEntry
<?> protected final List
<RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot> 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
ConstructorDescriptionAlternativeButtonWidget
(int x, int y, RecipeEntry<?> recipe, boolean craftable) -
Method Summary
Modifier and TypeMethodDescriptionvoid
acceptAlignedInput
(Ingredient ingredient, int int2, int int3, int int4, int int5) protected void
alignRecipe
(RecipeEntry<?> recipe) void
void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) 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, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, 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.recipe.RecipeGridAligner
alignRecipeToGrid
Methods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Field Details
-
recipe
- Mappings:
Namespace Name Mixin selector named recipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;recipe:Lnet/minecraft/recipe/RecipeEntry;
intermediary field_3114
Lnet/minecraft/class_508$class_509;field_3114:Lnet/minecraft/class_8786;
official c
Lfrf$a;c:Lcyl;
-
craftable
private final boolean craftable- Mappings:
Namespace Name Mixin selector named craftable
Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;craftable:Z
intermediary field_3115
Lnet/minecraft/class_508$class_509;field_3115:Z
official d
Lfrf$a;d:Z
-
slots
- Mappings:
Namespace Name Mixin selector named slots
Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;slots:Ljava/util/List;
intermediary field_3116
Lnet/minecraft/class_508$class_509;field_3116:Ljava/util/List;
official a
Lfrf$a;a:Ljava/util/List;
-
-
Constructor Details
-
AlternativeButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;<init>(Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;IILnet/minecraft/recipe/RecipeEntry;Z)V
intermediary <init>
Lnet/minecraft/class_508$class_509;<init>(Lnet/minecraft/class_508;IILnet/minecraft/class_8786;Z)V
official <init>
Lfrf$a;<init>(Lfrf;IILcyl;Z)V
-
-
Method Details
-
alignRecipe
- Mappings:
Namespace Name Mixin selector named alignRecipe
Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;alignRecipe(Lnet/minecraft/recipe/RecipeEntry;)V
intermediary method_2619
Lnet/minecraft/class_508$class_509;method_2619(Lnet/minecraft/class_8786;)V
official a
Lfrf$a;a(Lcyl;)V
-
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
-
acceptAlignedInput
- Specified by:
acceptAlignedInput
in interfaceRecipeGridAligner<Ingredient>
- Mappings:
Namespace Name Mixin selector named acceptAlignedInput
Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;acceptAlignedInput(Lnet/minecraft/recipe/Ingredient;IIII)V
intermediary method_60343
Lnet/minecraft/class_508$class_509;method_60343(Lnet/minecraft/class_1856;IIII)V
official a
Lfrf$a;a(Lcyg;IIII)V
-
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
-