Package net.minecraft.client.gui.widget
Interface Widget
- All Known Subinterfaces:
LayoutWidget
- All Known Implementing Classes:
AbstractTextWidget
,AnimatedResultButton
,AxisGridWidget
,BeaconScreen.BaseButtonWidget
,BeaconScreen.CancelButtonWidget
,BeaconScreen.DoneButtonWidget
,BeaconScreen.EffectButtonWidget
,BeaconScreen.IconButtonWidget
,BeaconScreen.LevelTwoEffectButtonWidget
,ButtonWidget
,CheckboxWidget
,ClickableWidget
,CyclingButtonWidget
,EditBoxWidget
,EmptyWidget
,GameModeSelectionScreen.ButtonWidget
,GridWidget
,IconButtonWidget
,IconWidget
,LockButtonWidget
,MerchantScreen.WidgetButtonPage
,MultilineTextWidget
,NarratedMultilineTextWidget
,OptionSliderWidget
,PageTurnWidget
,PressableTextWidget
,PressableWidget
,RealmsMainScreen.CloseButton
,RealmsMainScreen.CrossButton
,RealmsMainScreen.NewsButton
,RealmsMainScreen.PendingInvitesButton
,RealmsResetWorldScreen.FrameButton
,RealmsSlotOptionsScreen.SettingsSlider
,RealmsWorldSlotButton
,RecipeAlternativesWidget.AlternativeButtonWidget
,RecipeAlternativesWidget.FurnaceAlternativeButtonWidget
,RecipeGroupButtonWidget
,ScrollableTextWidget
,ScrollableWidget
,SimpleOption.OptionSliderWidgetImpl
,SimplePositioningWidget
,SliderWidget
,TabButtonWidget
,TelemetryEventWidget
,TextFieldWidget
,TexturedButtonWidget
,TextWidget
,ThreePartsLayoutWidget
,ToggleButtonWidget
,WrapperWidget
- Mappings:
Namespace Name official esi
intermediary net/minecraft/class_8021
named net/minecraft/client/gui/widget/Widget
-
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachChild
(Consumer<ClickableWidget> consumer) int
default ScreenRect
int
getWidth()
int
getX()
int
getY()
default void
setPosition
(int x, int y) void
setX
(int x) void
setY
(int y)
-
Method Details
-
setX
void setX(int x) - Mappings:
Namespace Name Mixin selector official e
Lesi;e(I)V
intermediary method_46421
Lnet/minecraft/class_8021;method_46421(I)V
named setX
Lnet/minecraft/client/gui/widget/Widget;setX(I)V
-
setY
void setY(int y) - Mappings:
Namespace Name Mixin selector official f
Lesi;f(I)V
intermediary method_46419
Lnet/minecraft/class_8021;method_46419(I)V
named setY
Lnet/minecraft/client/gui/widget/Widget;setY(I)V
-
getX
int getX()- Mappings:
Namespace Name Mixin selector official p
Lesi;p()I
intermediary method_46426
Lnet/minecraft/class_8021;method_46426()I
named getX
Lnet/minecraft/client/gui/widget/Widget;getX()I
-
getY
int getY()- Mappings:
Namespace Name Mixin selector official r
Lesi;r()I
intermediary method_46427
Lnet/minecraft/class_8021;method_46427()I
named getY
Lnet/minecraft/client/gui/widget/Widget;getY()I
-
getWidth
int getWidth()- Mappings:
Namespace Name Mixin selector official k
Lesi;k()I
intermediary method_25368
Lnet/minecraft/class_8021;method_25368()I
named getWidth
Lnet/minecraft/client/gui/widget/Widget;getWidth()I
-
getHeight
int getHeight()- Mappings:
Namespace Name Mixin selector official h
Lesi;h()I
intermediary method_25364
Lnet/minecraft/class_8021;method_25364()I
named getHeight
Lnet/minecraft/client/gui/widget/Widget;getHeight()I
-
setPosition
default void setPosition(int x, int y) - Mappings:
Namespace Name Mixin selector official b
Lesi;b(II)V
intermediary method_48229
Lnet/minecraft/class_8021;method_48229(II)V
named setPosition
Lnet/minecraft/client/gui/widget/Widget;setPosition(II)V
-
forEachChild
- Mappings:
Namespace Name Mixin selector official a
Lesi;a(Ljava/util/function/Consumer;)V
intermediary method_48206
Lnet/minecraft/class_8021;method_48206(Ljava/util/function/Consumer;)V
named forEachChild
Lnet/minecraft/client/gui/widget/Widget;forEachChild(Ljava/util/function/Consumer;)V
-