Class OnlineOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class OnlineOptionsScreen extends GameOptionsScreen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/option/OnlineOptionsScreen
intermediary net/minecraft/class_6777
official fwz
  • 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 Lfwz;a:Lxv;
    • difficulty

      @Nullable private @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 Lfwz;u:Lfmi;
  • Constructor Details

    • OnlineOptionsScreen

      public OnlineOptionsScreen(Screen parent, GameOptions gameOptions)
      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;)V
      intermediary <init> Lnet/minecraft/class_6777;<init>(Lnet/minecraft/class_437;Lnet/minecraft/class_315;)V
      official <init> Lfwz;<init>(Lftx;Lfmj;)V
  • Method Details

    • init

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

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

      Overrides:
      init in class GameOptionsScreen
      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 aT_ Lftx;aT_()V
    • collectOptions

      private SimpleOption<?>[] collectOptions(GameOptions gameOptions, MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      named collectOptions Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;collectOptions(Lnet/minecraft/client/option/GameOptions;Lnet/minecraft/client/MinecraftClient;)[Lnet/minecraft/client/option/SimpleOption;
      intermediary method_60333 Lnet/minecraft/class_6777;method_60333(Lnet/minecraft/class_315;Lnet/minecraft/class_310;)[Lnet/minecraft/class_7172;
      official a Lfwz;a(Lfmj;Lfmf;)[Lfmi;
    • addOptions

      protected void addOptions()
      Specified by:
      addOptions in class GameOptionsScreen
      Mappings:
      Namespace Name Mixin selector
      named addOptions Lnet/minecraft/client/gui/screen/option/GameOptionsScreen;addOptions()V
      intermediary method_60325 Lnet/minecraft/class_4667;method_60325()V
      official l Lfxb;l()V