Class RecipeGroupButtonWidget
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ToggleButtonWidget
net.minecraft.client.gui.screen.recipebook.RecipeGroupButtonWidget
- All Implemented Interfaces:
class_8021,Drawable,Element,Narratable,Selectable
- Mappings:
Namespace Name official etlintermediary net/minecraft/class_512named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate final RecipeBookGroupprivate static final floatFields inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
hoverVOffset, pressedUOffset, texture, toggled, u, vFields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, field_41797, height, hovered, visible, WIDGETS_TEXTURE, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckForNewRecipes(MinecraftClient client) booleanhasKnownRecipes(ClientRecipeBook recipeBook) voidrenderButton(MatrixStack matrices, int mouseX, int mouseY, float delta) private voidrenderIcons(ItemRenderer itemRenderer) Methods inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
appendClickableNarrations, isToggled, setTextureUV, setToggledMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getTooltipPositioner, getType, getWidth, getX, getY, getYImage, isFocused, isHovered, isMouseOver, isNarratable, isValidClickButton, method_48202, method_48203, method_48205, method_48206, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playDownSound, render, renderBackground, setAlpha, setFocused, setMessage, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, enableScissor, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_48196, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.class_8021
method_48229Methods inherited from interface net.minecraft.client.gui.Element
charTyped, keyPressed, keyReleased, method_48218, mouseMoved, mouseScrolled
-
Field Details
-
field_32412
private static final float field_32412- See Also:
- Mappings:
Namespace Name Mixin selector official sLetl;s:Fintermediary field_32412Lnet/minecraft/class_512;field_32412:Fnamed field_32412Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:F
-
category
- Mappings:
Namespace Name Mixin selector official rLetl;r:Lekc;intermediary field_3123Lnet/minecraft/class_512;field_3123:Lnet/minecraft/class_314;named categoryLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;category:Lnet/minecraft/client/recipebook/RecipeBookGroup;
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector official tLetl;t:Fintermediary field_3122Lnet/minecraft/class_512;field_3122:Fnamed bounceLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:F
-
-
Constructor Details
-
RecipeGroupButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>Letl;<init>(Lekc;)Vintermediary <init>Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_314;)Vnamed <init>Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/recipebook/RecipeBookGroup;)V
-
-
Method Details
-
checkForNewRecipes
- Mappings:
Namespace Name Mixin selector official aLetl;a(Lejt;)Vintermediary method_2622Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_310;)Vnamed checkForNewRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/MinecraftClient;)V
-
renderButton
- Overrides:
renderButtonin classToggleButtonWidget- Mappings:
Namespace Name Mixin selector official bLelj;b(Leer;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
-
renderIcons
- Mappings:
Namespace Name Mixin selector official aLetl;a(Lfkn;)Vintermediary method_2621Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_918;)Vnamed renderIconsLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/render/item/ItemRenderer;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector official bLetl;b()Lekc;intermediary method_2623Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_314;named getCategoryLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/client/recipebook/RecipeBookGroup;
-
hasKnownRecipes
- Mappings:
Namespace Name Mixin selector official aLetl;a(Lejh;)Zintermediary method_2624Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Znamed hasKnownRecipesLnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Z
-