Class OpenToLanScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

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

    • MIN_PORT Link icon

      private static final int MIN_PORT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MIN_PORT Lnet/minecraft/client/gui/screen/OpenToLanScreen;MIN_PORT:I
      intermediary field_41629 Lnet/minecraft/class_436;field_41629:I
      official a Lfun;a:I
    • MAX_PORT Link icon

      private static final int MAX_PORT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_PORT Lnet/minecraft/client/gui/screen/OpenToLanScreen;MAX_PORT:I
      intermediary field_41630 Lnet/minecraft/class_436;field_41630:I
      official b Lfun;b:I
    • ALLOW_COMMANDS_TEXT Link icon

      private static final Text ALLOW_COMMANDS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named ALLOW_COMMANDS_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;ALLOW_COMMANDS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25889 Lnet/minecraft/class_436;field_25889:Lnet/minecraft/class_2561;
      official c Lfun;c:Lwp;
    • GAME_MODE_TEXT Link icon

      private static final Text GAME_MODE_TEXT
      Mappings:
      Namespace Name Mixin selector
      named GAME_MODE_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;GAME_MODE_TEXT:Lnet/minecraft/text/Text;
      intermediary field_25890 Lnet/minecraft/class_436;field_25890:Lnet/minecraft/class_2561;
      official d Lfun;d:Lwp;
    • OTHER_PLAYERS_TEXT Link icon

      private static final Text OTHER_PLAYERS_TEXT
      Mappings:
      Namespace Name Mixin selector
      named OTHER_PLAYERS_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;OTHER_PLAYERS_TEXT:Lnet/minecraft/text/Text;
      intermediary field_26545 Lnet/minecraft/class_436;field_26545:Lnet/minecraft/class_2561;
      official s Lfun;s:Lwp;
    • PORT_TEXT Link icon

      private static final Text PORT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named PORT_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;PORT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41108 Lnet/minecraft/class_436;field_41108:Lnet/minecraft/class_2561;
      official u Lfun;u:Lwp;
    • UNAVAILABLE_PORT_TEXT Link icon

      private static final Text UNAVAILABLE_PORT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named UNAVAILABLE_PORT_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;UNAVAILABLE_PORT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41106 Lnet/minecraft/class_436;field_41106:Lnet/minecraft/class_2561;
      official v Lfun;v:Lwp;
    • INVALID_PORT_TEXT Link icon

      private static final Text INVALID_PORT_TEXT
      Mappings:
      Namespace Name Mixin selector
      named INVALID_PORT_TEXT Lnet/minecraft/client/gui/screen/OpenToLanScreen;INVALID_PORT_TEXT:Lnet/minecraft/text/Text;
      intermediary field_41109 Lnet/minecraft/class_436;field_41109:Lnet/minecraft/class_2561;
      official w Lfun;w:Lwp;
    • ERROR_TEXT_COLOR Link icon

      private static final int ERROR_TEXT_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ERROR_TEXT_COLOR Lnet/minecraft/client/gui/screen/OpenToLanScreen;ERROR_TEXT_COLOR:I
      intermediary field_41107 Lnet/minecraft/class_436;field_41107:I
      official x Lfun;x:I
    • parent Link icon

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/OpenToLanScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_2548 Lnet/minecraft/class_436;field_2548:Lnet/minecraft/class_437;
      official y Lfun;y:Lfum;
    • gameMode Link icon

      private GameMode gameMode
      Mappings:
      Namespace Name Mixin selector
      named gameMode Lnet/minecraft/client/gui/screen/OpenToLanScreen;gameMode:Lnet/minecraft/world/GameMode;
      intermediary field_2545 Lnet/minecraft/class_436;field_2545:Lnet/minecraft/class_1934;
      official z Lfun;z:Ldgg;
    • allowCommands Link icon

      private boolean allowCommands
      Mappings:
      Namespace Name Mixin selector
      named allowCommands Lnet/minecraft/client/gui/screen/OpenToLanScreen;allowCommands:Z
      intermediary field_2546 Lnet/minecraft/class_436;field_2546:Z
      official A Lfun;A:Z
    • port Link icon

      private int port
      Mappings:
      Namespace Name Mixin selector
      named port Lnet/minecraft/client/gui/screen/OpenToLanScreen;port:I
      intermediary field_41110 Lnet/minecraft/class_436;field_41110:I
      official B Lfun;B:I
    • portField Link icon

      @Nullable private @Nullable TextFieldWidget portField
      Mappings:
      Namespace Name Mixin selector
      named portField Lnet/minecraft/client/gui/screen/OpenToLanScreen;portField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
      intermediary field_41111 Lnet/minecraft/class_436;field_41111:Lnet/minecraft/class_342;
      official C Lfun;C:Lfpd;
  • Constructor Details Link icon

    • OpenToLanScreen Link icon

      public OpenToLanScreen(Screen screen)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/OpenToLanScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary <init> Lnet/minecraft/class_436;<init>(Lnet/minecraft/class_437;)V
      official <init> Lfun;<init>(Lfum;)V
  • Method Details Link icon

    • init Link icon

      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
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      official aR_ Lfum;aR_()V
    • close Link icon

      public void close()
      Overrides:
      close in class Screen
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gui/screen/Screen;close()V
      intermediary method_25419 Lnet/minecraft/class_437;method_25419()V
      official aO_ Lfum;aO_()V
    • updatePort Link icon

      @Nullable private @Nullable Text updatePort(String portText)
      Mappings:
      Namespace Name Mixin selector
      named updatePort Lnet/minecraft/client/gui/screen/OpenToLanScreen;updatePort(Ljava/lang/String;)Lnet/minecraft/text/Text;
      intermediary method_47417 Lnet/minecraft/class_436;method_47417(Ljava/lang/String;)Lnet/minecraft/class_2561;
      official a Lfun;a(Ljava/lang/String;)Lwp;
    • render Link icon

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class Screen
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      official a Lfpx;a(Lfof;IIF)V