Package net.minecraft.client.gui.widget
Interface Widget
- All Known Subinterfaces:
LayoutWidget
- All Known Implementing Classes:
AbstractTextWidget,AbuseReportReasonScreen.ReasonListWidget,AbuseReportReasonScreen.ReasonListWidget.ReasonEntry,AlwaysSelectedEntryListWidget,AlwaysSelectedEntryListWidget.Entry,AnimatedResultButton,AxisGridWidget,BeaconScreen.BaseButtonWidget,BeaconScreen.CancelButtonWidget,BeaconScreen.DoneButtonWidget,BeaconScreen.EffectButtonWidget,BeaconScreen.IconButtonWidget,BeaconScreen.LevelTwoEffectButtonWidget,ButtonWidget,ChatSelectionScreen.SelectionListWidget,ChatSelectionScreen.SelectionListWidget.Entry,ChatSelectionScreen.SelectionListWidget.MessageEntry,ChatSelectionScreen.SelectionListWidget.SenderEntry,ChatSelectionScreen.SelectionListWidget.SeparatorEntry,ChatSelectionScreen.SelectionListWidget.TextEntry,CheckboxWidget,ClickableWidget,ContainerWidget,ControlsListWidget,ControlsListWidget.CategoryEntry,ControlsListWidget.Entry,ControlsListWidget.KeyBindingEntry,CustomizeBuffetLevelScreen.BuffetBiomesListWidget,CustomizeBuffetLevelScreen.BuffetBiomesListWidget.BuffetBiomeItem,CustomizeFlatLevelScreen.SuperflatLayersListWidget,CustomizeFlatLevelScreen.SuperflatLayersListWidget.Entry,CustomizeFlatLevelScreen.SuperflatLayersListWidget.HeaderEntry,CustomizeFlatLevelScreen.SuperflatLayersListWidget.SuperflatLayerEntry,CyclingButtonWidget,DebugOptionsScreen.AbstractEntry,DebugOptionsScreen.Category,DebugOptionsScreen.Entry,DebugOptionsScreen.OptionsListWidget,DirectionalLayoutWidget,EditBoxWidget,EditGameRulesScreen.AbstractRuleWidget,EditGameRulesScreen.BooleanRuleWidget,EditGameRulesScreen.IntRuleWidget,EditGameRulesScreen.NamedRuleWidget,EditGameRulesScreen.RuleCategoryWidget,EditGameRulesScreen.RuleListWidget,ElementListWidget,ElementListWidget.Entry,EmptyWidget,EntryListWidget,EntryListWidget.Entry,ExperimentalWarningScreen.DetailsScreen.PackListWidget,ExperimentalWarningScreen.DetailsScreen.PackListWidgetEntry,GameModeSwitcherScreen.ButtonWidget,GridWidget,IconWidget,IconWidget.Simple,IconWidget.Texture,InputControlHandlers.NumberRangeInputControlHandler.RangeSliderWidget,ItemStackWidget,LanguageOptionsScreen.LanguageSelectionListWidget,LanguageOptionsScreen.LanguageSelectionListWidget.LanguageEntry,LoadingWidget,LockButtonWidget,MerchantScreen.WidgetButtonPage,MultilineTextWidget,MultiplayerServerListWidget,MultiplayerServerListWidget.Entry,MultiplayerServerListWidget.LanServerEntry,MultiplayerServerListWidget.ScanningEntry,MultiplayerServerListWidget.ServerEntry,NarratedMultilineTextWidget,OptionListWidget,OptionListWidget.OptionWidgetEntry,OptionListWidget.WidgetEntry,OptionSliderWidget,PackListWidget,PackListWidget.Entry,PackListWidget.HeaderEntry,PackListWidget.ResourcePackEntry,PageTurnWidget,PlayerSkinWidget,PresetsScreen.SuperflatPresetsListWidget,PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry,PressableTextWidget,PressableWidget,RealmsBackupInfoScreen.BackupInfoList,RealmsBackupInfoScreen.BackupInfoListEntry,RealmsBackupScreen.BackupObjectSelectionList,RealmsBackupScreen.BackupObjectSelectionListEntry,RealmsCreateWorldScreen.FrameButton,RealmsMainScreen.CrossButton,RealmsMainScreen.Entry,RealmsMainScreen.NotificationButtonWidget,RealmsMainScreen.ParentRealmSelectionListEntry,RealmsMainScreen.RealmSelectionList,RealmsMainScreen.RealmSelectionListEntry,RealmsMainScreen.SnapshotEntry,RealmsMainScreen.VisitUrlNotification,RealmsPendingInvitesScreen.PendingInvitationSelectionList,RealmsPendingInvitesScreen.PendingInvitationSelectionListEntry,RealmsPlayerTab.HeaderEntry,RealmsPlayerTab.InvitedObjectSelectionList,RealmsPlayerTab.InvitedObjectSelectionListEntry,RealmsPlayerTab.PlayerTabEntry,RealmsRegionPreferenceScreen.RegionListWidget,RealmsRegionPreferenceScreen.RegionListWidget.RegionEntry,RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionList,RealmsSelectWorldTemplateScreen.WorldTemplateObjectSelectionListEntry,RealmsSlotOptionsScreen.SettingsSlider,RealmsWorldSlotButton,RecipeAlternativesWidget.AlternativeButtonWidget,RecipeAlternativesWidget.CraftingAlternativeButtonWidget,RecipeAlternativesWidget.FurnaceAlternativeButtonWidget,RecipeGroupButtonWidget,ScrollableLayoutWidget,ScrollableLayoutWidget.Container,ScrollableTextFieldWidget,ScrollableTextWidget,ScrollableWidget,SimpleOption.OptionSliderWidgetImpl,SimplePositioningWidget,SliderWidget,SocialInteractionsPlayerListEntry,SocialInteractionsPlayerListWidget,StatsScreen.EntityStatsListWidget,StatsScreen.EntityStatsListWidget.Entry,StatsScreen.GeneralStatsListWidget,StatsScreen.GeneralStatsListWidget.Entry,StatsScreen.ItemStatsListWidget,StatsScreen.ItemStatsListWidget.Entry,StatsScreen.ItemStatsListWidget.Header,StatsScreen.ItemStatsListWidget.Header.HeaderButton,StatsScreen.ItemStatsListWidget.StatEntry,StatsScreen.ItemStatsListWidget.StatEntry.ItemStackInSlotWidget,TabButtonWidget,TelemetryEventWidget,TextFieldWidget,TextIconButtonWidget,TextIconButtonWidget.IconOnly,TextIconButtonWidget.WithText,TexturedButtonWidget,TextWidget,ThreePartsLayoutWidget,ToggleButtonWidget,WorldListWidget,WorldListWidget.EmptyListEntry,WorldListWidget.Entry,WorldListWidget.LoadingEntry,WorldListWidget.WorldEntry,WrapperWidget
- Mappings:
Namespace Name named net/minecraft/client/gui/widget/Widgetintermediary net/minecraft/class_8021official gje
-
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 fLgje;f(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 gLgje;g(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 aT_Lgje;aT_()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 aU_Lgje;aU_()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 aS_Lgje;aS_()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 aR_Lgje;aR_()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 cLgje;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 aLgje;a(Ljava/util/function/Consumer;)V
-