Package net.minecraft.client.gui.widget
Class ClickableWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- Selectable,- Widget
- Direct Known Subclasses:
- AbstractTextWidget,- AnimatedResultButton,- GameModeSelectionScreen.ButtonWidget,- IconWidget,- LoadingWidget,- PlayerSkinWidget,- PressableWidget,- RecipeAlternativesWidget.AlternativeButtonWidget,- ScrollableWidget,- SliderWidget,- TabButtonWidget,- TextFieldWidget,- ToggleButtonWidget
@Environment(CLIENT)
public abstract class ClickableWidget
extends Object
implements Drawable, Element, Widget, Selectable
A clickable widget is a GUI element that has many methods to handle different
 mouse actions. In addition, it allows a message to be rendered on the widget
 and narrated when the widget is selected.
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/widget/ClickableWidget- intermediary - net/minecraft/class_339- official - fos
- 
Nested Class SummaryNested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFieldsModifier and TypeFieldDescriptionbooleanprotected floatprivate static final doubleprivate static final doubleprivate booleanprotected intprotected booleanprivate Textprivate intprivate final TooltipStatebooleanprotected intprivate intprivate intFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected abstract voidprotected voidfinal voidappendNarrations(NarrationMessageBuilder builder) protected voiddrawScrollableText(DrawContext context, TextRenderer textRenderer, int xMargin, int color) protected static voiddrawScrollableText(DrawContext context, TextRenderer textRenderer, Text text, int startX, int startY, int endX, int endY, int color) protected static voiddrawScrollableText(DrawContext context, TextRenderer textRenderer, Text text, int centerX, int startX, int startY, int endX, int endY, int color) voidforEachChild(Consumer<ClickableWidget> consumer) intintprotected MutableTextstatic MutableTextgetNarrationMessage(Text message) intgetNavigationPath(GuiNavigation navigation) intgetRight()getType()intgetWidth()intgetX()intgetY()booleanbooleanbooleanisMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.booleanbooleanprotected booleanisValidClickButton(int button) booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.voidonClick(double mouseX, double mouseY) protected voidonDrag(double mouseX, double mouseY, double deltaX, double deltaY) voidonRelease(double mouseX, double mouseY) static voidplayClickSound(SoundManager soundManager) voidplayDownSound(SoundManager soundManager) final voidrender(DrawContext context, int mouseX, int mouseY, float delta) protected abstract voidrenderWidget(DrawContext context, int mouseX, int mouseY, float delta) voidsetAlpha(float alpha) voidsetDimensions(int width, int height) voidsetDimensionsAndPosition(int width, int height, int x, int y) voidsetFocused(boolean focused) voidsetHeight(int height) voidsetMessage(Text message) voidsetNavigationOrder(int navigationOrder) voidsetTooltip(@Nullable Tooltip tooltip) voidsetTooltipDelay(Duration tooltipDelay) voidsetWidth(int width) voidsetX(int x) voidsetY(int y) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementcharTyped, getBorder, getFocusedPath, keyPressed, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Field Details- 
field_43055private static final double field_43055- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_43055- Lnet/minecraft/client/gui/widget/ClickableWidget;field_43055:D- intermediary - field_43055- Lnet/minecraft/class_339;field_43055:D- official - a- Lfos;a:D
 
- 
field_43056private static final double field_43056- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_43056- Lnet/minecraft/client/gui/widget/ClickableWidget;field_43056:D- intermediary - field_43056- Lnet/minecraft/class_339;field_43056:D- official - b- Lfos;b:D
 
- 
widthprotected int width- Mappings:
- Namespace - Name - Mixin selector - named - width- Lnet/minecraft/client/gui/widget/ClickableWidget;width:I- intermediary - field_22758- Lnet/minecraft/class_339;field_22758:I- official - g- Lfos;g:I
 
- 
heightprotected int height- Mappings:
- Namespace - Name - Mixin selector - named - height- Lnet/minecraft/client/gui/widget/ClickableWidget;height:I- intermediary - field_22759- Lnet/minecraft/class_339;field_22759:I- official - h- Lfos;h:I
 
- 
xprivate int x- Mappings:
- Namespace - Name - Mixin selector - named - x- Lnet/minecraft/client/gui/widget/ClickableWidget;x:I- intermediary - field_22760- Lnet/minecraft/class_339;field_22760:I- official - c- Lfos;c:I
 
- 
yprivate int y- Mappings:
- Namespace - Name - Mixin selector - named - y- Lnet/minecraft/client/gui/widget/ClickableWidget;y:I- intermediary - field_22761- Lnet/minecraft/class_339;field_22761:I- official - d- Lfos;d:I
 
- 
message- Mappings:
- Namespace - Name - Mixin selector - named - message- Lnet/minecraft/client/gui/widget/ClickableWidget;message:Lnet/minecraft/text/Text;- intermediary - field_22754- Lnet/minecraft/class_339;field_22754:Lnet/minecraft/class_2561;- official - e- Lfos;e:Lwp;
 
- 
hoveredprotected boolean hovered- Mappings:
- Namespace - Name - Mixin selector - named - hovered- Lnet/minecraft/client/gui/widget/ClickableWidget;hovered:Z- intermediary - field_22762- Lnet/minecraft/class_339;field_22762:Z- official - i- Lfos;i:Z
 
- 
activepublic boolean active- Mappings:
- Namespace - Name - Mixin selector - named - active- Lnet/minecraft/client/gui/widget/ClickableWidget;active:Z- intermediary - field_22763- Lnet/minecraft/class_339;field_22763:Z- official - j- Lfos;j:Z
 
- 
visiblepublic boolean visible- Mappings:
- Namespace - Name - Mixin selector - named - visible- Lnet/minecraft/client/gui/widget/ClickableWidget;visible:Z- intermediary - field_22764- Lnet/minecraft/class_339;field_22764:Z- official - k- Lfos;k:Z
 
- 
alphaprotected float alpha- Mappings:
- Namespace - Name - Mixin selector - named - alpha- Lnet/minecraft/client/gui/widget/ClickableWidget;alpha:F- intermediary - field_22765- Lnet/minecraft/class_339;field_22765:F- official - l- Lfos;l:F
 
- 
focusedprivate boolean focused- Mappings:
- Namespace - Name - Mixin selector - named - focused- Lnet/minecraft/client/gui/widget/ClickableWidget;focused:Z- intermediary - field_22756- Lnet/minecraft/class_339;field_22756:Z- official - m- Lfos;m:Z
 
- 
tooltip- Mappings:
- Namespace - Name - Mixin selector - named - tooltip- Lnet/minecraft/client/gui/widget/ClickableWidget;tooltip:Lnet/minecraft/client/gui/tooltip/TooltipState;- intermediary - field_41095- Lnet/minecraft/class_339;field_41095:Lnet/minecraft/class_9110;- official - n- Lfos;n:Lfqi;
 
 
- 
- 
Constructor Details- 
ClickableWidget- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/widget/ClickableWidget;<init>(IIIILnet/minecraft/text/Text;)V- intermediary - <init>- Lnet/minecraft/class_339;<init>(IIIILnet/minecraft/class_2561;)V- official - <init>- Lfos;<init>(IIIILwp;)V
 
 
- 
- 
Method Details- 
getHeightpublic int getHeight()
- 
render- Specified by:
- renderin interface- Drawable
- Mappings:
- Namespace - Name - Mixin selector - named - render- Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V- intermediary - method_25394- Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V- official - a- Lfpx;a(Lfof;IIF)V
 
- 
setTooltip- Mappings:
- Namespace - Name - Mixin selector - named - setTooltip- Lnet/minecraft/client/gui/widget/ClickableWidget;setTooltip(Lnet/minecraft/client/gui/tooltip/Tooltip;)V- intermediary - method_47400- Lnet/minecraft/class_339;method_47400(Lnet/minecraft/class_7919;)V- official - a- Lfos;a(Lfqf;)V
 
- 
getTooltip- Mappings:
- Namespace - Name - Mixin selector - named - getTooltip- Lnet/minecraft/client/gui/widget/ClickableWidget;getTooltip()Lnet/minecraft/client/gui/tooltip/Tooltip;- intermediary - method_51254- Lnet/minecraft/class_339;method_51254()Lnet/minecraft/class_7919;- official - z- Lfos;z()Lfqf;
 
- 
setTooltipDelay- Mappings:
- Namespace - Name - Mixin selector - named - setTooltipDelay- Lnet/minecraft/client/gui/widget/ClickableWidget;setTooltipDelay(Ljava/time/Duration;)V- intermediary - method_47402- Lnet/minecraft/class_339;method_47402(Ljava/time/Duration;)V- official - a- Lfos;a(Ljava/time/Duration;)V
 
- 
getNarrationMessage- Mappings:
- Namespace - Name - Mixin selector - named - getNarrationMessage- Lnet/minecraft/client/gui/widget/ClickableWidget;getNarrationMessage()Lnet/minecraft/text/MutableText;- intermediary - method_25360- Lnet/minecraft/class_339;method_25360()Lnet/minecraft/class_5250;- official - d- Lfos;d()Lxd;
 
- 
getNarrationMessage- Mappings:
- Namespace - Name - Mixin selector - named - getNarrationMessage- Lnet/minecraft/client/gui/widget/ClickableWidget;getNarrationMessage(Lnet/minecraft/text/Text;)Lnet/minecraft/text/MutableText;- intermediary - method_32602- Lnet/minecraft/class_339;method_32602(Lnet/minecraft/class_2561;)Lnet/minecraft/class_5250;- official - a_- Lfos;a_(Lwp;)Lxd;
 
- 
renderWidget- 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- Lfos;b(Lfof;IIF)V
 
- 
drawScrollableTextprotected static void drawScrollableText(DrawContext context, TextRenderer textRenderer, Text text, int startX, int startY, int endX, int endY, int color) - Mappings:
- Namespace - Name - Mixin selector - named - drawScrollableText- Lnet/minecraft/client/gui/widget/ClickableWidget;drawScrollableText(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;IIIII)V- intermediary - method_52718- Lnet/minecraft/class_339;method_52718(Lnet/minecraft/class_332;Lnet/minecraft/class_327;Lnet/minecraft/class_2561;IIIII)V- official - a- Lfos;a(Lfof;Lfod;Lwp;IIIII)V
 
- 
drawScrollableTextprotected static void drawScrollableText(DrawContext context, TextRenderer textRenderer, Text text, int centerX, int startX, int startY, int endX, int endY, int color) - Mappings:
- Namespace - Name - Mixin selector - named - drawScrollableText- Lnet/minecraft/client/gui/widget/ClickableWidget;drawScrollableText(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/text/Text;IIIIII)V- intermediary - method_49605- Lnet/minecraft/class_339;method_49605(Lnet/minecraft/class_332;Lnet/minecraft/class_327;Lnet/minecraft/class_2561;IIIIII)V- official - a- Lfos;a(Lfof;Lfod;Lwp;IIIIII)V
 
- 
drawScrollableTextprotected void drawScrollableText(DrawContext context, TextRenderer textRenderer, int xMargin, int color) - Mappings:
- Namespace - Name - Mixin selector - named - drawScrollableText- Lnet/minecraft/client/gui/widget/ClickableWidget;drawScrollableText(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/client/font/TextRenderer;II)V- intermediary - method_49604- Lnet/minecraft/class_339;method_49604(Lnet/minecraft/class_332;Lnet/minecraft/class_327;II)V- official - a- Lfos;a(Lfof;Lfod;II)V
 
- 
onClickpublic void onClick(double mouseX, double mouseY) - Mappings:
- Namespace - Name - Mixin selector - named - onClick- Lnet/minecraft/client/gui/widget/ClickableWidget;onClick(DD)V- intermediary - method_25348- Lnet/minecraft/class_339;method_25348(DD)V- official - a- Lfos;a(DD)V
 
- 
onReleasepublic void onRelease(double mouseX, double mouseY) - Mappings:
- Namespace - Name - Mixin selector - named - onRelease- Lnet/minecraft/client/gui/widget/ClickableWidget;onRelease(DD)V- intermediary - method_25357- Lnet/minecraft/class_339;method_25357(DD)V- official - b- Lfos;b(DD)V
 
- 
onDragprotected void onDrag(double mouseX, double mouseY, double deltaX, double deltaY) - Mappings:
- Namespace - Name - Mixin selector - named - onDrag- Lnet/minecraft/client/gui/widget/ClickableWidget;onDrag(DDDD)V- intermediary - method_25349- Lnet/minecraft/class_339;method_25349(DDDD)V- official - b- Lfos;b(DDDD)V
 
- 
mouseClickedpublic boolean mouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
- mouseClickedin interface- Element
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mouseClicked- Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z- intermediary - method_25402- Lnet/minecraft/class_364;method_25402(DDI)Z- official - a- Lfqr;a(DDI)Z
 
- 
mouseReleasedpublic boolean mouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
- mouseReleasedin interface- Element
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- button- the mouse button number
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mouseReleased- Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z- intermediary - method_25406- Lnet/minecraft/class_364;method_25406(DDI)Z- official - b- Lfqr;b(DDI)Z
 
- 
isValidClickButtonprotected boolean isValidClickButton(int button) - Mappings:
- Namespace - Name - Mixin selector - named - isValidClickButton- Lnet/minecraft/client/gui/widget/ClickableWidget;isValidClickButton(I)Z- intermediary - method_25351- Lnet/minecraft/class_339;method_25351(I)Z- official - g- Lfos;g(I)Z
 
- 
mouseDraggedpublic boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured. The button number is identified by the constants inGLFWclass.- Specified by:
- mouseDraggedin interface- Element
- Parameters:
- mouseX- the current X coordinate of the mouse
- mouseY- the current Y coordinate of the mouse
- button- the mouse button number
- deltaX- the difference of the current X with the previous X coordinate
- deltaY- the difference of the current Y with the previous Y coordinate
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - mouseDragged- Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z- intermediary - method_25403- Lnet/minecraft/class_364;method_25403(DDIDD)Z- official - a- Lfqr;a(DDIDD)Z
 
- 
isMouseOverpublic boolean isMouseOver(double mouseX, double mouseY) Checks if the mouse position is within the bound of the element.- Specified by:
- isMouseOverin interface- Element
- Parameters:
- mouseX- the X coordinate of the mouse
- mouseY- the Y coordinate of the mouse
- Returns:
- trueif the mouse is within the bound of the element, otherwise- false
- Mappings:
- Namespace - Name - Mixin selector - named - isMouseOver- Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z- intermediary - method_25405- Lnet/minecraft/class_364;method_25405(DD)Z- official - a_- Lfqr;a_(DD)Z
 
- 
playDownSound- Mappings:
- Namespace - Name - Mixin selector - named - playDownSound- Lnet/minecraft/client/gui/widget/ClickableWidget;playDownSound(Lnet/minecraft/client/sound/SoundManager;)V- intermediary - method_25354- Lnet/minecraft/class_339;method_25354(Lnet/minecraft/class_1144;)V- official - a- Lfos;a(Lhjw;)V
 
- 
playClickSound- Mappings:
- Namespace - Name - Mixin selector - named - playClickSound- Lnet/minecraft/client/gui/widget/ClickableWidget;playClickSound(Lnet/minecraft/client/sound/SoundManager;)V- intermediary - method_62888- Lnet/minecraft/class_339;method_62888(Lnet/minecraft/class_1144;)V- official - b- Lfos;b(Lhjw;)V
 
- 
getWidthpublic int getWidth()
- 
setWidthpublic void setWidth(int width) - Mappings:
- Namespace - Name - Mixin selector - named - setWidth- Lnet/minecraft/client/gui/widget/ClickableWidget;setWidth(I)V- intermediary - method_25358- Lnet/minecraft/class_339;method_25358(I)V- official - h- Lfos;h(I)V
 
- 
setHeightpublic void setHeight(int height) - Mappings:
- Namespace - Name - Mixin selector - named - setHeight- Lnet/minecraft/client/gui/widget/ClickableWidget;setHeight(I)V- intermediary - method_53533- Lnet/minecraft/class_339;method_53533(I)V- official - i- Lfos;i(I)V
 
- 
setAlphapublic void setAlpha(float alpha) - Mappings:
- Namespace - Name - Mixin selector - named - setAlpha- Lnet/minecraft/client/gui/widget/ClickableWidget;setAlpha(F)V- intermediary - method_25350- Lnet/minecraft/class_339;method_25350(F)V- official - a- Lfos;a(F)V
 
- 
setMessage- Mappings:
- Namespace - Name - Mixin selector - named - setMessage- Lnet/minecraft/client/gui/widget/ClickableWidget;setMessage(Lnet/minecraft/text/Text;)V- intermediary - method_25355- Lnet/minecraft/class_339;method_25355(Lnet/minecraft/class_2561;)V- official - b- Lfos;b(Lwp;)V
 
- 
getMessage- Mappings:
- Namespace - Name - Mixin selector - named - getMessage- Lnet/minecraft/client/gui/widget/ClickableWidget;getMessage()Lnet/minecraft/text/Text;- intermediary - method_25369- Lnet/minecraft/class_339;method_25369()Lnet/minecraft/class_2561;- official - B- Lfos;B()Lwp;
 
- 
isFocusedpublic boolean isFocused()
- 
isHoveredpublic boolean isHovered()- Mappings:
- Namespace - Name - Mixin selector - named - isHovered- Lnet/minecraft/client/gui/widget/ClickableWidget;isHovered()Z- intermediary - method_49606- Lnet/minecraft/class_339;method_49606()Z- official - C- Lfos;C()Z
 
- 
isSelectedpublic boolean isSelected()- Mappings:
- Namespace - Name - Mixin selector - named - isSelected- Lnet/minecraft/client/gui/widget/ClickableWidget;isSelected()Z- intermediary - method_25367- Lnet/minecraft/class_339;method_25367()Z- official - D- Lfos;D()Z
 
- 
isNarratablepublic boolean isNarratable()- Specified by:
- isNarratablein interface- Selectable
- Mappings:
- Namespace - Name - Mixin selector - named - isNarratable- Lnet/minecraft/client/gui/Selectable;isNarratable()Z- intermediary - method_37303- Lnet/minecraft/class_6379;method_37303()Z- official - E- Lfsp;E()Z
 
- 
setFocusedpublic void setFocused(boolean focused) - Specified by:
- setFocusedin interface- Element
- Mappings:
- Namespace - Name - Mixin selector - named - setFocused- Lnet/minecraft/client/gui/Element;setFocused(Z)V- intermediary - method_25365- Lnet/minecraft/class_364;method_25365(Z)V- official - a- Lfqr;a(Z)V
 
- 
getType- Specified by:
- getTypein interface- Selectable
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/client/gui/Selectable;getType()Lnet/minecraft/client/gui/Selectable$SelectionType;- intermediary - method_37018- Lnet/minecraft/class_6379;method_37018()Lnet/minecraft/class_6379$class_6380;- official - w- Lfsp;w()Lfsp$a;
 
- 
appendNarrations- Specified by:
- appendNarrationsin interface- Narratable
- Mappings:
- Namespace - Name - Mixin selector - named - appendNarrations- Lnet/minecraft/client/gui/Narratable;appendNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_37020- Lnet/minecraft/class_6383;method_37020(Lnet/minecraft/class_6382;)V- official - b- Lfss;b(Lfsr;)V
 
- 
appendClickableNarrations- Mappings:
- Namespace - Name - Mixin selector - named - appendClickableNarrations- Lnet/minecraft/client/gui/widget/ClickableWidget;appendClickableNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_47399- Lnet/minecraft/class_339;method_47399(Lnet/minecraft/class_6382;)V- official - a- Lfos;a(Lfsr;)V
 
- 
appendDefaultNarrations- Mappings:
- Namespace - Name - Mixin selector - named - appendDefaultNarrations- Lnet/minecraft/client/gui/widget/ClickableWidget;appendDefaultNarrations(Lnet/minecraft/client/gui/screen/narration/NarrationMessageBuilder;)V- intermediary - method_37021- Lnet/minecraft/class_339;method_37021(Lnet/minecraft/class_6382;)V- official - c- Lfos;c(Lfsr;)V
 
- 
getXpublic int getX()
- 
setXpublic void setX(int x) 
- 
getYpublic int getY()
- 
setYpublic void setY(int y) 
- 
getRightpublic int getRight()- Mappings:
- Namespace - Name - Mixin selector - named - getRight- Lnet/minecraft/client/gui/widget/ClickableWidget;getRight()I- intermediary - method_55442- Lnet/minecraft/class_339;method_55442()I- official - H- Lfos;H()I
 
- 
getBottompublic int getBottom()- Mappings:
- Namespace - Name - Mixin selector - named - getBottom- Lnet/minecraft/client/gui/widget/ClickableWidget;getBottom()I- intermediary - method_55443- Lnet/minecraft/class_339;method_55443()I- official - I- Lfos;I()I
 
- 
forEachChild- Specified by:
- forEachChildin interface- Widget
- Mappings:
- Namespace - Name - Mixin selector - named - forEachChild- Lnet/minecraft/client/gui/widget/Widget;forEachChild(Ljava/util/function/Consumer;)V- intermediary - method_48206- Lnet/minecraft/class_8021;method_48206(Ljava/util/function/Consumer;)V- official - a- Lfsk;a(Ljava/util/function/Consumer;)V
 
- 
setDimensionspublic void setDimensions(int width, int height) - Mappings:
- Namespace - Name - Mixin selector - named - setDimensions- Lnet/minecraft/client/gui/widget/ClickableWidget;setDimensions(II)V- intermediary - method_55445- Lnet/minecraft/class_339;method_55445(II)V- official - b- Lfos;b(II)V
 
- 
setDimensionsAndPositionpublic void setDimensionsAndPosition(int width, int height, int x, int y) - Mappings:
- Namespace - Name - Mixin selector - named - setDimensionsAndPosition- Lnet/minecraft/client/gui/widget/ClickableWidget;setDimensionsAndPosition(IIII)V- intermediary - method_55444- Lnet/minecraft/class_339;method_55444(IIII)V- official - a- Lfos;a(IIII)V
 
 
-