Package net.minecraft.client.gui.widget
Interface Widget
- All Known Subinterfaces:
LayoutWidget
- All Known Implementing Classes:
AbstractTextWidget,AbuseReportReasonScreen.ReasonListWidget,AlwaysSelectedEntryListWidget,AnimatedResultButton,AxisGridWidget,BeaconScreen.BaseButtonWidget,BeaconScreen.CancelButtonWidget,BeaconScreen.DoneButtonWidget,BeaconScreen.EffectButtonWidget,BeaconScreen.IconButtonWidget,BeaconScreen.LevelTwoEffectButtonWidget,ButtonWidget,ChatSelectionScreen.SelectionListWidget,CheckboxWidget,ClickableWidget,ContainerWidget,ControlsListWidget,CustomizeBuffetLevelScreen.BuffetBiomesListWidget,CustomizeFlatLevelScreen.SuperflatLayersListWidget,CyclingButtonWidget,DirectionalLayoutWidget,EditBoxWidget,EditGameRulesScreen.RuleListWidget,ElementListWidget,EmptyWidget,EntryListWidget,ExperimentalWarningScreen.DetailsScreen.PackListWidget,GameModeSelectionScreen.ButtonWidget,GridWidget,IconWidget,IconWidget.Simple,IconWidget.Texture,LanguageOptionsScreen.LanguageSelectionListWidget,LockButtonWidget,MerchantScreen.WidgetButtonPage,MultilineTextWidget,MultiplayerServerListWidget,NarratedMultilineTextWidget,OptionListWidget,OptionSliderWidget,PackListWidget,PageTurnWidget,PlayerSkinWidget,PresetsScreen.SuperflatPresetsListWidget,PressableTextWidget,PressableWidget,RealmsBackupInfoScreen.BackupInfoList,RealmsBackupScreen.BackupObjectSelectionList,RealmsCreateWorldScreen.FrameButton,RealmsLoadingWidget,RealmsMainScreen.CrossButton,RealmsMainScreen.NotificationButtonWidget,RealmsMainScreen.RealmSelectionList,RealmsObjectSelectionList,RealmsPendingInvitesScreen.PendingInvitationSelectionList,RealmsPlayerScreen.InvitedObjectSelectionList,RealmsSelectFileToUploadScreen.WorldSelectionList,RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList,RealmsSlotOptionsScreen.SettingsSlider,RealmsWorldSlotButton,RecipeAlternativesWidget.AlternativeButtonWidget,RecipeAlternativesWidget.FurnaceAlternativeButtonWidget,RecipeGroupButtonWidget,ScrollableTextWidget,ScrollableWidget,ServerLinksScreen.LinksListWidget,SimpleOption.OptionSliderWidgetImpl,SimplePositioningWidget,SliderWidget,SocialInteractionsPlayerListWidget,StatsScreen.EntityStatsListWidget,StatsScreen.GeneralStatsListWidget,StatsScreen.ItemStatsListWidget,TabButtonWidget,TelemetryEventWidget,TextFieldWidget,TextIconButtonWidget,TextIconButtonWidget.IconOnly,TextIconButtonWidget.WithText,TexturedButtonWidget,TextWidget,ThreePartsLayoutWidget,ToggleButtonWidget,WorldListWidget,WrapperWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/Widgetintermediary net/minecraft/class_8021official fmb
-
Method Summary
Modifier and TypeMethodDescriptionvoidforEachChild(Consumer<ClickableWidget> consumer) intdefault ScreenRectintgetWidth()intgetX()intgetY()default voidsetPosition(int x, int y) voidsetX(int x) voidsetY(int y)
-
Method Details
-
setX
void setX(int x) - Mappings:
Namespace Name Mixin selector named setXLnet/minecraft/client/gui/widget/Widget;setX(I)Vintermediary method_46421Lnet/minecraft/class_8021;method_46421(I)Vofficial mLfmb;m(I)V
-
setY
void setY(int y) - Mappings:
Namespace Name Mixin selector named setYLnet/minecraft/client/gui/widget/Widget;setY(I)Vintermediary method_46419Lnet/minecraft/class_8021;method_46419(I)Vofficial nLfmb;n(I)V
-
getX
int getX()- Mappings:
Namespace Name Mixin selector named getXLnet/minecraft/client/gui/widget/Widget;getX()Iintermediary method_46426Lnet/minecraft/class_8021;method_46426()Iofficial DLfmb;D()I
-
getY
int getY()- Mappings:
Namespace Name Mixin selector named getYLnet/minecraft/client/gui/widget/Widget;getY()Iintermediary method_46427Lnet/minecraft/class_8021;method_46427()Iofficial ELfmb;E()I
-
getWidth
int getWidth()- Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/client/gui/widget/Widget;getWidth()Iintermediary method_25368Lnet/minecraft/class_8021;method_25368()Iofficial yLfmb;y()I
-
getHeight
int getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/client/gui/widget/Widget;getHeight()Iintermediary method_25364Lnet/minecraft/class_8021;method_25364()Iofficial wLfmb;w()I
-
setPosition
default void setPosition(int x, int y) - Mappings:
Namespace Name Mixin selector named setPositionLnet/minecraft/client/gui/widget/Widget;setPosition(II)Vintermediary method_48229Lnet/minecraft/class_8021;method_48229(II)Vofficial cLfmb;c(II)V
-
forEachChild
- Mappings:
Namespace Name Mixin selector named forEachChildLnet/minecraft/client/gui/widget/Widget;forEachChild(Ljava/util/function/Consumer;)Vintermediary method_48206Lnet/minecraft/class_8021;method_48206(Ljava/util/function/Consumer;)Vofficial aLfmb;a(Ljava/util/function/Consumer;)V
-