Class OnlineOptionsScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • difficulty

      @Nullable private final @Nullable SimpleOption<com.mojang.datafixers.util.Unit> difficulty
      Mappings:
      Namespace Name Mixin selector
      official p Lest;p:Lemk;
      intermediary field_41344 Lnet/minecraft/class_6777;field_41344:Lnet/minecraft/class_7172;
      named difficulty Lnet/minecraft/client/gui/screen/option/OnlineOptionsScreen;difficulty:Lnet/minecraft/client/option/SimpleOption;
  • 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
      official <init> Lest;<init>(Letd;Leml;[Lemk;Lemk;)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
      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
  • Method Details

    • create

      public static OnlineOptionsScreen create(MinecraftClient client, Screen parent, GameOptions gameOptions)
      Mappings:
      Namespace Name Mixin selector
      official a Lest;a(Lemh;Letd;Leml;)Lest;
      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;
      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;
    • 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(net.minecraft.client.gui.Element) to set the element that is initially focused.

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