Class RecipeAlternativesWidget.AlternativeButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.screen.recipebook.RecipeAlternativesWidget.AlternativeButtonWidget
- All Implemented Interfaces:
class_6379,class_6383,Drawable,Element,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 ecx$aintermediary net/minecraft/class_508$class_509named net/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classNested classes/interfaces inherited from interface net.minecraft.class_6379
class_6379.class_6380 -
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, yFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)protected voidalignRecipe(Recipe<?> recipe)voidmethod_37020(class_6382 class_6382)voidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta)Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
changeFocus, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getWidth, getYImage, isFocused, isHovered, isMouseOver, isValidClickButton, method_37018, method_37021, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onFocusedChanged, onRelease, playDownSound, render, renderBackground, renderToolTip, setAlpha, setFocused, setMessage, setWidthMethods 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, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.recipe.RecipeGridAligner
alignRecipeToGrid
-
Field Details
-
recipe
- Mappings:
Namespace Name Mixin selector official cLecx$a;c:Lbsr;intermediary field_3114Lnet/minecraft/class_508$class_509;field_3114:Lnet/minecraft/class_1860;named recipeLnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;recipe:Lnet/minecraft/recipe/Recipe;
-
craftable
private final boolean craftable- Mappings:
Namespace Name Mixin selector official dLecx$a;d:Zintermediary field_3115Lnet/minecraft/class_508$class_509;field_3115:Znamed craftableLnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;craftable:Z
-
slots
- Mappings:
Namespace Name Mixin selector official aLecx$a;a:Ljava/util/List;intermediary field_3116Lnet/minecraft/class_508$class_509;field_3116:Ljava/util/List;named slotsLnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;slots:Ljava/util/List;
-
-
Constructor Details
-
AlternativeButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Lecx$a;<init>(Lecx;IILbsr;Z)Vintermediary <init>Lnet/minecraft/class_508$class_509;<init>(Lnet/minecraft/class_508;IILnet/minecraft/class_1860;Z)Vnamed <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 aLecx$a;a(Lbsr;)Vintermediary method_2619Lnet/minecraft/class_508$class_509;method_2619(Lnet/minecraft/class_1860;)Vnamed alignRecipeLnet/minecraft/client/gui/screen/recipebook/RecipeAlternativesWidget$AlternativeButtonWidget;alignRecipe(Lnet/minecraft/recipe/Recipe;)V
-
method_37020
- Specified by:
method_37020in interfaceclass_6383- Mappings:
Namespace Name Mixin selector official aLdyn;a(Ldym;)Vintermediary method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)Vnamed method_37020Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V
-
acceptAlignedInput
public void acceptAlignedInput(Iterator<Ingredient> inputs, int slot, int amount, int gridX, int gridY)- Specified by:
acceptAlignedInputin interfaceRecipeGridAligner<Ingredient>- Mappings:
Namespace Name Mixin selector official aLwh;a(Ljava/util/Iterator;IIII)Vintermediary method_12815Lnet/minecraft/class_2952;method_12815(Ljava/util/Iterator;IIII)Vnamed acceptAlignedInputLnet/minecraft/recipe/RecipeGridAligner;acceptAlignedInput(Ljava/util/Iterator;IIII)V
-
renderButton
- Overrides:
renderButtonin classClickableWidget- Mappings:
Namespace Name Mixin selector official bLdwh;b(Ldpu;IIF)Vintermediary method_25359Lnet/minecraft/class_339;method_25359(Lnet/minecraft/class_4587;IIF)Vnamed renderButtonLnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-