Class MultiplayerScreen

All Implemented Interfaces:
Drawable, Element, ParentElement

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

    • LOGGER

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

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

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

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

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

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

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

      private ButtonWidget buttonDelete
      Mappings:
      Namespace Name Mixin selector
      official r Leob;r:Lehp;
      intermediary field_3047 Lnet/minecraft/class_500;field_3047:Lnet/minecraft/class_4185;
      named buttonDelete Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;buttonDelete:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • tooltip

      @Nullable private @Nullable List<Text> tooltip
      Mappings:
      Namespace Name Mixin selector
      official s Leob;s:Ljava/util/List;
      intermediary field_3042 Lnet/minecraft/class_500;field_3042:Ljava/util/List;
      named tooltip Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;tooltip:Ljava/util/List;
    • selectedEntry

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

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

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

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

    • MultiplayerScreen

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

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

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

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

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

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

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

      private void directConnect(boolean confirmedAction)
      Mappings:
      Namespace Name Mixin selector
      official g Leob;g(Z)V
      intermediary method_20380 Lnet/minecraft/class_500;method_20380(Z)V
      named directConnect Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;directConnect(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
      official a Leir;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • 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
    • connect

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

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

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

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

      public MultiplayerServerListPinger getServerListPinger()
      Mappings:
      Namespace Name Mixin selector
      official k Leob;k()Levd;
      intermediary method_2538 Lnet/minecraft/class_500;method_2538()Lnet/minecraft/class_644;
      named getServerListPinger Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;getServerListPinger()Lnet/minecraft/client/network/MultiplayerServerListPinger;
    • setTooltip

      public void setTooltip(List<Text> tooltip)
      Mappings:
      Namespace Name Mixin selector
      official b Leob;b(Ljava/util/List;)V
      intermediary method_2528 Lnet/minecraft/class_500;method_2528(Ljava/util/List;)V
      named setTooltip Lnet/minecraft/client/gui/screen/multiplayer/MultiplayerScreen;setTooltip(Ljava/util/List;)V
    • getServerList

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