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:
Drawable
,Element
,Narratable
,Navigable
,Selectable
,Widget
- Mappings:
Namespace Name official ewr
intermediary net/minecraft/class_512
named 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
Modifier and TypeFieldDescriptionprivate float
private final RecipeBookGroup
private static final float
Fields inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
hoverVOffset, pressedUOffset, texture, toggled, u, v
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, LIGHT_DIRT_BACKGROUND_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkForNewRecipes
(MinecraftClient client) boolean
hasKnownRecipes
(ClientRecipeBook recipeBook) void
renderButton
(MatrixStack matrices, int mouseX, int mouseY, float delta) private void
renderIcons
(MatrixStack matrices, ItemRenderer itemRenderer) Methods inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
appendClickableNarrations, isToggled, setTextureUV, setToggled
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawTexture, forEachChild, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, 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, setY
Methods inherited from class net.minecraft.client.gui.DrawableHelper
disableScissor, drawBorder, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawCenteredTextWithShadow, drawHorizontalLine, drawNineSlicedTexture, drawNineSlicedTexture, drawNineSlicedTexture, drawRepeatingTexture, drawSprite, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawTextWithShadow, drawTextWithShadow, drawVerticalLine, drawWithOutline, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient
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
-
field_32412
private static final float field_32412- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lewr;l:F
intermediary field_32412
Lnet/minecraft/class_512;field_32412:F
named field_32412
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:F
-
category
- Mappings:
Namespace Name Mixin selector official k
Lewr;k:Lemq;
intermediary field_3123
Lnet/minecraft/class_512;field_3123:Lnet/minecraft/class_314;
named category
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;category:Lnet/minecraft/client/recipebook/RecipeBookGroup;
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector official m
Lewr;m:F
intermediary field_3122
Lnet/minecraft/class_512;field_3122:F
named bounce
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:F
-
-
Constructor Details
-
RecipeGroupButtonWidget
- Mappings:
Namespace Name Mixin selector official <init>
Lewr;<init>(Lemq;)V
intermediary <init>
Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_314;)V
named <init>
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/recipebook/RecipeBookGroup;)V
-
-
Method Details
-
checkForNewRecipes
- Mappings:
Namespace Name Mixin selector official a
Lewr;a(Lemh;)V
intermediary method_2622
Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_310;)V
named checkForNewRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/MinecraftClient;)V
-
renderButton
- Overrides:
renderButton
in classToggleButtonWidget
- Mappings:
Namespace Name Mixin selector official b
Lenz;b(Lehe;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_4587;IIF)V
named renderButton
Lnet/minecraft/client/gui/widget/ClickableWidget;renderButton(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderIcons
- Mappings:
Namespace Name Mixin selector official a
Lewr;a(Lehe;Lfoc;)V
intermediary method_2621
Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_4587;Lnet/minecraft/class_918;)V
named renderIcons
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/item/ItemRenderer;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector official b
Lewr;b()Lemq;
intermediary method_2623
Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_314;
named getCategory
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/client/recipebook/RecipeBookGroup;
-
hasKnownRecipes
- Mappings:
Namespace Name Mixin selector official a
Lewr;a(Lelv;)Z
intermediary method_2624
Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Z
named hasKnownRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Z
-