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 fmv
  • 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 Lfmv;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 Lfmv;u:Lffk;
  • 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> Lfmv;<init>(Lfnf;Lffl;[Lffk;Lffk;)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 Lfmv;a(Lffh;Lfnf;Lffl;)Lfmv;
    • 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_ Lfnf;aM_()V