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_6379
,class_6383
,Drawable
,Element
- Mappings:
Namespace Name official eda
intermediary net/minecraft/class_512
named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.class_6379
class_6379.class_6380
-
Field Summary
FieldsFields 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
active, alpha, height, hovered, visible, WIDGETS_TEXTURE, width, x, y
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors -
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(ItemRenderer itemRenderer)
Methods inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
isToggled, method_37020, setPos, setTextureUV, setToggled
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, setWidth
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
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, keyPressed, keyReleased, mouseMoved, mouseScrolled
-
Field Details
-
field_32412
private static final float field_32412- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official t
Leda;t: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 s
Leda;s:Ldvf;
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 u
Leda;u: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>
Leda;<init>(Ldvf;)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
Leda;a(Lduy;)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
Ldwh;b(Ldpu;IIF)V
intermediary method_25359
Lnet/minecraft/class_339;method_25359(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
Leda;a(Lesn;)V
intermediary method_2621
Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_918;)V
named renderIcons
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/render/item/ItemRenderer;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector official b
Leda;b()Ldvf;
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
Leda;a(Ldul;)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
-