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

@Environment(CLIENT) public interface Widget
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/Widget
intermediary net/minecraft/class_8021
official fmb
  • 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 m Lfmb;m(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 n Lfmb;n(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 D Lfmb;D()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 E Lfmb;E()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 y Lfmb;y()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 w Lfmb;w()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 H Lfmb;H()Lfms;
    • 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 Lfmb;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 Lfmb;a(Ljava/util/function/Consumer;)V