Class MultiplayerScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement

@Environment(CLIENT) public class MultiplayerScreen extends Screen
Mappings:
Namespace Name
named net/minecraft/client/gui/screen/multiplayer/MultiplayerScreen
intermediary net/minecraft/class_500
official fwn
  • Field Details

    • field_41849

      public static final int field_41849
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41849 Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41849:I
      intermediary field_41849 Lnet/minecraft/class_500;field_41849:I
      official a Lfwn;a:I
    • field_41850

      public static final int field_41850
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41850 Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41850:I
      intermediary field_41850 Lnet/minecraft/class_500;field_41850:I
      official b Lfwn;b:I
    • field_41851

      public static final int field_41851
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41851 Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41851:I
      intermediary field_41851 Lnet/minecraft/class_500;field_41851:I
      official c Lfwn;c:I
    • field_41852

      public static final int field_41852
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_41852 Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;field_41852:I
      intermediary field_41852 Lnet/minecraft/class_500;field_41852:I
      official d Lfwn;d:I
    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;LOGGER:Lorg/slf4j/Logger;
      intermediary field_3044 Lnet/minecraft/class_500;field_3044:Lorg/slf4j/Logger;
      official u Lfwn;u:Lorg/slf4j/Logger;
    • serverListPinger

      private final MultiplayerServerListPinger serverListPinger
      Mappings:
      Namespace Name Mixin selector
      named serverListPinger Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListPinger:Lnet/minecraft/client/network/MultiplayerServerListPinger;
      intermediary field_3037 Lnet/minecraft/class_500;field_3037:Lnet/minecraft/class_644;
      official v Lfwn;v:Lgga;
    • parent

      private final Screen parent
      Mappings:
      Namespace Name Mixin selector
      named parent Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
      intermediary field_3049 Lnet/minecraft/class_500;field_3049:Lnet/minecraft/class_437;
      official w Lfwn;w:Lftx;
    • serverListWidget

      protected MultiplayerServerListWidget serverListWidget
      Mappings:
      Namespace Name Mixin selector
      named serverListWidget Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverListWidget:Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget;
      intermediary field_3043 Lnet/minecraft/class_500;field_3043:Lnet/minecraft/class_4267;
      official s Lfwn;s:Lfwr;
    • serverList

      private ServerList serverList
      Mappings:
      Namespace Name Mixin selector
      named serverList Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;serverList:Lnet/minecraft/client/option/ServerList;
      intermediary field_3040 Lnet/minecraft/class_500;field_3040:Lnet/minecraft/class_641;
      official x Lfwn;x:Lgfz;
    • buttonEdit

      private ButtonWidget buttonEdit
      Mappings:
      Namespace Name Mixin selector
      named buttonEdit Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonEdit:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3041 Lnet/minecraft/class_500;field_3041:Lnet/minecraft/class_4185;
      official y Lfwn;y:Lfoe;
    • buttonJoin

      private ButtonWidget buttonJoin
      Mappings:
      Namespace Name Mixin selector
      named buttonJoin Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonJoin:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3050 Lnet/minecraft/class_500;field_3050:Lnet/minecraft/class_4185;
      official z Lfwn;z:Lfoe;
    • buttonDelete

      private ButtonWidget buttonDelete
      Mappings:
      Namespace Name Mixin selector
      named buttonDelete Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonDelete:Lnet/minecraft/client/gui/widget/ButtonWidget;
      intermediary field_3047 Lnet/minecraft/class_500;field_3047:Lnet/minecraft/class_4185;
      official A Lfwn;A:Lfoe;
    • selectedEntry

      private ServerInfo selectedEntry
      Mappings:
      Namespace Name Mixin selector
      named selectedEntry Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;selectedEntry:Lnet/minecraft/client/network/ServerInfo;
      intermediary field_3051 Lnet/minecraft/class_500;field_3051:Lnet/minecraft/class_642;
      official B Lfwn;B:Lgfy;
    • lanServers

      Mappings:
      Namespace Name Mixin selector
      named lanServers Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServers:Lnet/minecraft/client/network/LanServerQueryManager$LanServerEntryList;
      intermediary field_3046 Lnet/minecraft/class_500;field_3046:Lnet/minecraft/class_1134$class_1136;
      official C Lfwn;C:Lhfx$b;
    • lanServerDetector

      Mappings:
      Namespace Name Mixin selector
      named lanServerDetector Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;lanServerDetector:Lnet/minecraft/client/network/LanServerQueryManager$LanServerDetector;
      intermediary field_3045 Lnet/minecraft/class_500;field_3045:Lnet/minecraft/class_1134$class_1135;
      official D Lfwn;D:Lhfx$a;
    • initialized

      private boolean initialized
      Mappings:
      Namespace Name Mixin selector
      named initialized Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;initialized:Z
      intermediary field_3048 Lnet/minecraft/class_500;field_3048:Z
      official E Lfwn;E:Z
  • Constructor Details

    • MultiplayerScreen

      public MultiplayerScreen(Screen parent)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)V
      intermediary <init> Lnet/minecraft/class_500;<init>(Lnet/minecraft/class_437;)V
      official <init> Lfwn;<init>(Lftx;)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
      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
    • close

      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 aP_ Lftx;aP_()V
    • tick

      public void tick()
      Overrides:
      tick in class Screen
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
      intermediary method_25393 Lnet/minecraft/class_437;method_25393()V
      official e Lftx;e()V
    • removed

      public void removed()
      Overrides:
      removed in class Screen
      Mappings:
      Namespace Name Mixin selector
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      official aJ_ Lftx;aJ_()V
    • refresh

      private void refresh()
      Mappings:
      Namespace Name Mixin selector
      named refresh Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;refresh()V
      intermediary method_2534 Lnet/minecraft/class_500;method_2534()V
      official J Lfwn;J()V
    • removeEntry

      private void removeEntry(boolean confirmedAction)
      Mappings:
      Namespace Name Mixin selector
      named removeEntry Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;removeEntry(Z)V
      intermediary method_20377 Lnet/minecraft/class_500;method_20377(Z)V
      official c Lfwn;c(Z)V
    • editEntry

      private void editEntry(boolean confirmedAction)
      Mappings:
      Namespace Name Mixin selector
      named editEntry Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;editEntry(Z)V
      intermediary method_20378 Lnet/minecraft/class_500;method_20378(Z)V
      official f Lfwn;f(Z)V
    • addEntry

      private void addEntry(boolean confirmedAction)
      Mappings:
      Namespace Name Mixin selector
      named addEntry Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;addEntry(Z)V
      intermediary method_20379 Lnet/minecraft/class_500;method_20379(Z)V
      official g Lfwn;g(Z)V
    • directConnect

      private void directConnect(boolean confirmedAction)
      Mappings:
      Namespace Name Mixin selector
      named directConnect Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;directConnect(Z)V
      intermediary method_20380 Lnet/minecraft/class_500;method_20380(Z)V
      official h Lfwn;h(Z)V
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class Screen
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      official a Lfqc;a(III)Z
    • render

      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 Lfpi;a(Lfnr;IIF)V
    • connect

      public void connect()
      Mappings:
      Namespace Name Mixin selector
      named connect Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect()V
      intermediary method_2536 Lnet/minecraft/class_500;method_2536()V
      official l Lfwn;l()V
    • connect

      private void connect(ServerInfo entry)
      Mappings:
      Namespace Name Mixin selector
      named connect Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;connect(Lnet/minecraft/client/network/ServerInfo;)V
      intermediary method_2548 Lnet/minecraft/class_500;method_2548(Lnet/minecraft/class_642;)V
      official a Lfwn;a(Lgfy;)V
    • select

      public void select(MultiplayerServerListWidget.Entry entry)
      Mappings:
      Namespace Name Mixin selector
      named select Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;select(Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerServerListWidget$Entry;)V
      intermediary method_2531 Lnet/minecraft/class_500;method_2531(Lnet/minecraft/class_4267$class_504;)V
      official a Lfwn;a(Lfwr$a;)V
    • updateButtonActivationStates

      protected void updateButtonActivationStates()
      Mappings:
      Namespace Name Mixin selector
      named updateButtonActivationStates Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;updateButtonActivationStates()V
      intermediary method_20121 Lnet/minecraft/class_500;method_20121()V
      official E Lfwn;E()V
    • getServerListPinger

      public MultiplayerServerListPinger getServerListPinger()
      Mappings:
      Namespace Name Mixin selector
      named getServerListPinger Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerListPinger()Lnet/minecraft/client/network/MultiplayerServerListPinger;
      intermediary method_2538 Lnet/minecraft/class_500;method_2538()Lnet/minecraft/class_644;
      official F Lfwn;F()Lgga;
    • getServerList

      public ServerList getServerList()
      Mappings:
      Namespace Name Mixin selector
      named getServerList Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerList()Lnet/minecraft/client/option/ServerList;
      intermediary method_2529 Lnet/minecraft/class_500;method_2529()Lnet/minecraft/class_641;
      official G Lfwn;G()Lgfz;