Class OpenToLanScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

@Environment(CLIENT) public class OpenToLanScreen extends Screen
Mappings:
Namespace Name
official eln
intermediary net/minecraft/class_436
named net/minecraft/client/gui/screen/OpenToLanScreen
  • Field Details

    • ALLOW_COMMANDS_TEXT

      private static final Text ALLOW_COMMANDS_TEXT
      Mappings:
      Namespace Name Mixin selector
      official a Leln;a:Lrq;
      intermediary field_25889 Lnet/minecraft/class_436;field_25889:Lnet/minecraft/class_2561;
      named ALLOW_COMMANDS_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;ALLOW_COMMANDS_TEXT:Lnet/minecraft/text/Text;
    • GAME_MODE_TEXT

      private static final Text GAME_MODE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Leln;b:Lrq;
      intermediary field_25890 Lnet/minecraft/class_436;field_25890:Lnet/minecraft/class_2561;
      named GAME_MODE_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
    • OTHER_PLAYERS_TEXT

      private static final Text OTHER_PLAYERS_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Leln;c:Lrq;
      intermediary field_26545 Lnet/minecraft/class_436;field_26545:Lnet/minecraft/class_2561;
      named OTHER_PLAYERS_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;OTHER_PLAYERS_TEXT:Lnet/minecraft/text/Text;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      official n Leln;n:Lelm;
      intermediary field_2548 Lnet/minecraft/class_436;field_2548:Lnet/minecraft/class_437;
      named parent Lnet/minecraft/client/gui/screen/OpenToLanScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
    • gameMode

      private GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      official o Leln;o:Lcgu;
      intermediary field_2545 Lnet/minecraft/class_436;field_2545:Lnet/minecraft/class_1934;
      named gameMode Lnet/minecraft/client/gui/screen/OpenToLanScreen;gameMode:Lnet/minecraft/world/GameMode;
    • allowCommands

      private boolean allowCommands
      Mappings:
      Namespace Name Mixin selector
      official p Leln;p:Z
      intermediary field_2546 Lnet/minecraft/class_436;field_2546:Z
      named allowCommands Lnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
  • Constructor Details

    • OpenToLanScreen

      public OpenToLanScreen(Screen parent)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leln;<init>(Lelm;)V
      intermediary <init> Lnet/minecraft/class_436;<init>(Lnet/minecraft/class_437;)V
      named <init> Lnet/minecraft/client/gui/screen/OpenToLanScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)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 Screen
      Mappings:
      Namespace Name Mixin selector
      official b Lelm;b()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leio;a(Leaq;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V