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 - official - eyb$a- intermediary - net/minecraft/class_508$class_509- named - net/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final boolean(package private) final Recipe<?>protected final List<RecipeAlternativesWidget.AlternativeButtonWidget.InputSlot>Fields inherited from class net.minecraft.client.gui.widget.ClickableWidgetACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidacceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) protected voidalignRecipe(Recipe<?> recipe) voidvoidrenderButton(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawTexture, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getTooltip, getTooltipPositioner, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playDownSound, render, setAlpha, setFocused, 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, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.recipe.RecipeGridAligneralignRecipeToGridMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
recipe- Mappings:
- Namespace - Name - Mixin selector - official - c- Leyb$a;c:Lcjc;- intermediary - field_3114- Lnet/minecraft/class_508$class_509;field_3114:Lnet/minecraft/class_1860;- named - recipe- Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;recipe:Lnet/minecraft/recipe/Recipe;
 
- 
craftableprivate final boolean craftable- Mappings:
- Namespace - Name - Mixin selector - official - d- Leyb$a;d:Z- intermediary - field_3115- Lnet/minecraft/class_508$class_509;field_3115:Z- named - craftable- Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;craftable:Z
 
- 
slots- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyb$a;a:Ljava/util/List;- intermediary - field_3116- Lnet/minecraft/class_508$class_509;field_3116:Ljava/util/List;- named - slots- Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;slots:Ljava/util/List;
 
 
- 
- 
Constructor Details- 
AlternativeButtonWidget- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Leyb$a;<init>(Leyb;IILcjc;Z)V- intermediary - <init>- Lnet/minecraft/class_508$class_509;<init>(Lnet/minecraft/class_508;IILnet/minecraft/class_1860;Z)V- named - <init>- Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;<init>(Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget;IILnet/minecraft/recipe/Recipe;Z)V
 
 
- 
- 
Method Details- 
alignRecipe- Mappings:
- Namespace - Name - Mixin selector - official - a- Leyb$a;a(Lcjc;)V- intermediary - method_2619- Lnet/minecraft/class_508$class_509;method_2619(Lnet/minecraft/class_1860;)V- named - alignRecipe- Lnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;alignRecipe(Lnet/minecraft/recipe/Recipe;)V
 
- 
appendClickableNarrations- Specified by:
- appendClickableNarrationsin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lepf;a(Lesp;)V- intermediary - method_47399- Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V- named - appendClickableNarrations- Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V
 
- 
acceptAlignedInputpublic void acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY) - Specified by:
- acceptAlignedInputin interface- RecipeGridAligner<Ingredient>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lacf;a(Ljava/util/Iterator;IIII)V- intermediary - method_12815- Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)V- named - acceptAlignedInput- Lnet/minecraft/recipe/RecipeGridAligner;acceptAlignedInput(Ljava/util/Iterator;IIII)V
 
- 
renderButton- Specified by:
- renderButtonin class- ClickableWidget
- Mappings:
- Namespace - Name - Mixin selector - official - b- Lepf;b(Leox;IIF)V- intermediary - method_48579- Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V- named - renderButton- Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/gui/DrawContext;IIF)V
 
 
-