Class OnlineOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class OnlineOptionsScreen extends SimpleOptionsScreen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/option/OnlineOptionsScreen
intermediary net/minecraft/class_6777
official fmu
  • Field Details

    • TITLE_TEXT

      private static final Text TITLE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named TITLE_TEXT Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;TITLE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_49500 Lnet/minecraft/class_6777;field_49500:Lnet/minecraft/class_2561;
      official a Lfmu;a:Lxp;
    • difficulty

      @Nullable private final @Nullable SimpleOption<com.mojang.datafixers.util.Unit> difficulty
      Mappings:
      Namespace Name Mixin selector
      named difficulty Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;difficulty:Lnet/minecraft/client/option/SimpleOption;
      intermediary field_41344 Lnet/minecraft/class_6777;field_41344:Lnet/minecraft/class_7172;
      official u Lfmu;u:Lffj;
  • Constructor Details

    • OnlineOptionsScreen

      private OnlineOptionsScreen(Screen parent, GameOptions gameOptions, SimpleOption<?>[] options, @Nullable @Nullable SimpleOption<com.mojang.datafixers.util.Unit> difficulty)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;[Lnet/minecraft/client/option/SimpleOption;Lnet/minecraft/client/option/SimpleOption;)V
      intermediary <init> Lnet/minecraft/class_6777;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;[Lnet/minecraft/class_7172;Lnet/minecraft/class_7172;)V
      official <init> Lfmu;<init>(Lfne;Lffk;[Lffj;Lffj;)V
  • Method Details

    • create

      public static OnlineOptionsScreen create(MinecraftClient client, Screen parent, GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;create(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/gui/screen/Screen;Lnet/minecraft/client/option/GameOptions;)Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;
      intermediary method_47621 Lnet/minecraft/class_6777;method_47621(Lnet/minecraft/class_310;Lnet/minecraft/class_437;Lnet/minecraft/class_315;)Lnet/minecraft/class_6777;
      official a Lfmu;a(Lffg;Lfne;Lffk;)Lfmu;
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus() to set the element that is initially focused.

      Overrides:
      init in class SimpleOptionsScreen
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aM_ Lfne;aM_()V