Class RecipeGroupButtonWidget
java.lang.Object
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 named net/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget
intermediary net/minecraft/class_512
official fxw
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private static final float
private final RecipeBookWidget.Tab
private static final ButtonTextures
Fields inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
textures, toggled
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkForNewRecipes
(ClientRecipeBook recipeBook, boolean filteringCraftable) boolean
hasKnownRecipes
(ClientRecipeBook recipeBook) private void
renderIcons
(DrawContext context) void
renderWidget
(DrawContext context, int mouseX, int mouseY, float delta) Methods inherited from class net.minecraft.client.gui.widget.ToggleButtonWidget
appendClickableNarrations, isToggled, setTextures, setToggled
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getNavigationPath, getRight, getTooltip, getType, getWidth, getX, getY, isFocused, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, onClick, onDrag, onRelease, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setFocused, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setY
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
-
TEXTURES
- Mappings:
Namespace Name Mixin selector named TEXTURES
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;TEXTURES:Lnet/minecraft/client/gui/screen/ButtonTextures;
intermediary field_45554
Lnet/minecraft/class_512;field_45554:Lnet/minecraft/class_8666;
official c
Lfxw;c:Lfps;
-
field_32412
private static final float field_32412- See Also:
- Mappings:
Namespace Name Mixin selector named field_32412
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;field_32412:F
intermediary field_32412
Lnet/minecraft/class_512;field_32412:F
official e
Lfxw;e:F
-
tab
- Mappings:
Namespace Name Mixin selector named tab
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;tab:Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;
intermediary field_54833
Lnet/minecraft/class_512;field_54833:Lnet/minecraft/class_507$class_10329;
official d
Lfxw;d:Lfxu$a;
-
bounce
private float bounce- Mappings:
Namespace Name Mixin selector named bounce
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;bounce:F
intermediary field_3122
Lnet/minecraft/class_512;field_3122:F
official f
Lfxw;f:F
-
-
Constructor Details
-
RecipeGroupButtonWidget
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;<init>(Lnet/minecraft/client/gui/screen/recipebook/RecipeBookWidget$Tab;)V
intermediary <init>
Lnet/minecraft/class_512;<init>(Lnet/minecraft/class_507$class_10329;)V
official <init>
Lfxw;<init>(Lfxu$a;)V
-
-
Method Details
-
checkForNewRecipes
- Mappings:
Namespace Name Mixin selector named checkForNewRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;checkForNewRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;Z)V
intermediary method_2622
Lnet/minecraft/class_512;method_2622(Lnet/minecraft/class_299;Z)V
official a
Lfxw;a(Lflq;Z)V
-
renderWidget
- Overrides:
renderWidget
in classToggleButtonWidget
- Mappings:
Namespace Name Mixin selector named renderWidget
Lnet/minecraft/client/gui/widget/ClickableWidget;renderWidget(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_48579
Lnet/minecraft/class_339;method_48579(Lnet/minecraft/class_332;IIF)V
official b
Lfoc;b(Lfnr;IIF)V
-
renderIcons
- Mappings:
Namespace Name Mixin selector named renderIcons
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;renderIcons(Lnet/minecraft/client/gui/DrawContext;)V
intermediary method_2621
Lnet/minecraft/class_512;method_2621(Lnet/minecraft/class_332;)V
official a
Lfxw;a(Lfnr;)V
-
getCategory
- Mappings:
Namespace Name Mixin selector named getCategory
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;getCategory()Lnet/minecraft/recipe/book/RecipeBookGroup;
intermediary method_2623
Lnet/minecraft/class_512;method_2623()Lnet/minecraft/class_10287;
official b
Lfxw;b()Ldbv;
-
hasKnownRecipes
- Mappings:
Namespace Name Mixin selector named hasKnownRecipes
Lnet/minecraft/client/gui/screen/recipebook/RecipeGroupButtonWidget;hasKnownRecipes(Lnet/minecraft/client/recipebook/ClientRecipeBook;)Z
intermediary method_2624
Lnet/minecraft/class_512;method_2624(Lnet/minecraft/class_299;)Z
official a
Lfxw;a(Lflq;)Z
-