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

@Environment(CLIENT) public interface Widget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/Widget
intermediary net/minecraft/class_8021
official gje
  • Method Details

    • setX

      void setX(int x)
      Mappings:
      Namespace Name Mixin selector
      named setX Lnet/minecraft/client/gui/widget/Widget;setX(I)V
      intermediary method_46421 Lnet/minecraft/class_8021;method_46421(I)V
      official f Lgje;f(I)V
    • setY

      void setY(int y)
      Mappings:
      Namespace Name Mixin selector
      named setY Lnet/minecraft/client/gui/widget/Widget;setY(I)V
      intermediary method_46419 Lnet/minecraft/class_8021;method_46419(I)V
      official g Lgje;g(I)V
    • getX

      int getX()
      Mappings:
      Namespace Name Mixin selector
      named getX Lnet/minecraft/client/gui/widget/Widget;getX()I
      intermediary method_46426 Lnet/minecraft/class_8021;method_46426()I
      official aT_ Lgje;aT_()I
    • getY

      int getY()
      Mappings:
      Namespace Name Mixin selector
      named getY Lnet/minecraft/client/gui/widget/Widget;getY()I
      intermediary method_46427 Lnet/minecraft/class_8021;method_46427()I
      official aU_ Lgje;aU_()I
    • getWidth

      int getWidth()
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lnet/minecraft/client/gui/widget/Widget;getWidth()I
      intermediary method_25368 Lnet/minecraft/class_8021;method_25368()I
      official aS_ Lgje;aS_()I
    • getHeight

      int getHeight()
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/widget/Widget;getHeight()I
      intermediary method_25364 Lnet/minecraft/class_8021;method_25364()I
      official aR_ Lgje;aR_()I
    • getNavigationFocus

      default ScreenRect getNavigationFocus()
      Mappings:
      Namespace Name Mixin selector
      named getNavigationFocus Lnet/minecraft/client/gui/widget/Widget;getNavigationFocus()Lnet/minecraft/client/gui/ScreenRect;
      intermediary method_48202 Lnet/minecraft/class_8021;method_48202()Lnet/minecraft/class_8030;
      official aV_ Lgje;aV_()Lgju;
    • setPosition

      default void setPosition(int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named setPosition Lnet/minecraft/client/gui/widget/Widget;setPosition(II)V
      intermediary method_48229 Lnet/minecraft/class_8021;method_48229(II)V
      official c Lgje;c(II)V
    • forEachChild

      void forEachChild(Consumer<ClickableWidget> consumer)
      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 Lgje;a(Ljava/util/function/Consumer;)V