Class ServerList

java.lang.Object
net.minecraft.client.option.ServerList

@Environment(CLIENT) public class ServerList extends Object
Mappings:
Namespace Name
official ejn
intermediary net/minecraft/class_641
named net/minecraft/client/option/ServerList
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a:Lorg/apache/logging/log4j/Logger;
      intermediary field_3751 Lnet/minecraft/class_641;field_3751:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/client/option/ServerList;LOGGER:Lorg/apache/logging/log4j/Logger;
    • client

      private final MinecraftClient client
      Mappings:
      Namespace Name Mixin selector
      official b Lejn;b:Ldvo;
      intermediary field_3750 Lnet/minecraft/class_641;field_3750:Lnet/minecraft/class_310;
      named client Lnet/minecraft/client/option/ServerList;client:Lnet/minecraft/client/MinecraftClient;
    • servers

      private final List<ServerInfo> servers
      Mappings:
      Namespace Name Mixin selector
      official c Lejn;c:Ljava/util/List;
      intermediary field_3749 Lnet/minecraft/class_641;field_3749:Ljava/util/List;
      named servers Lnet/minecraft/client/option/ServerList;servers:Ljava/util/List;
  • Constructor Details

    • ServerList

      public ServerList(MinecraftClient client)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lejn;<init>(Ldvo;)V
      intermediary <init> Lnet/minecraft/class_641;<init>(Lnet/minecraft/class_310;)V
      named <init> Lnet/minecraft/client/option/ServerList;<init>(Lnet/minecraft/client/MinecraftClient;)V
  • Method Details

    • loadFile

      public void loadFile()
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a()V
      intermediary method_2981 Lnet/minecraft/class_641;method_2981()V
      named loadFile Lnet/minecraft/client/option/ServerList;loadFile()V
    • saveFile

      public void saveFile()
      Mappings:
      Namespace Name Mixin selector
      official b Lejn;b()V
      intermediary method_2987 Lnet/minecraft/class_641;method_2987()V
      named saveFile Lnet/minecraft/client/option/ServerList;saveFile()V
    • get

      public ServerInfo get(int index)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(I)Lejm;
      intermediary method_2982 Lnet/minecraft/class_641;method_2982(I)Lnet/minecraft/class_642;
      named get Lnet/minecraft/client/option/ServerList;get(I)Lnet/minecraft/client/network/ServerInfo;
    • remove

      public void remove(ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(Lejm;)V
      intermediary method_2983 Lnet/minecraft/class_641;method_2983(Lnet/minecraft/class_642;)V
      named remove Lnet/minecraft/client/option/ServerList;remove(Lnet/minecraft/client/network/ServerInfo;)V
    • add

      public void add(ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      official b Lejn;b(Lejm;)V
      intermediary method_2988 Lnet/minecraft/class_641;method_2988(Lnet/minecraft/class_642;)V
      named add Lnet/minecraft/client/option/ServerList;add(Lnet/minecraft/client/network/ServerInfo;)V
    • size

      public int size()
      Mappings:
      Namespace Name Mixin selector
      official c Lejn;c()I
      intermediary method_2984 Lnet/minecraft/class_641;method_2984()I
      named size Lnet/minecraft/client/option/ServerList;size()I
    • swapEntries

      public void swapEntries(int index1, int index2)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(II)V
      intermediary method_2985 Lnet/minecraft/class_641;method_2985(II)V
      named swapEntries Lnet/minecraft/client/option/ServerList;swapEntries(II)V
    • set

      public void set(int index, ServerInfo serverInfo)
      Mappings:
      Namespace Name Mixin selector
      official a Lejn;a(ILejm;)V
      intermediary method_2980 Lnet/minecraft/class_641;method_2980(ILnet/minecraft/class_642;)V
      named set Lnet/minecraft/client/option/ServerList;set(ILnet/minecraft/client/network/ServerInfo;)V
    • updateServerListEntry

      public static void updateServerListEntry(ServerInfo e)
      Mappings:
      Namespace Name Mixin selector
      official c Lejn;c(Lejm;)V
      intermediary method_2986 Lnet/minecraft/class_641;method_2986(Lnet/minecraft/class_642;)V
      named updateServerListEntry Lnet/minecraft/client/option/ServerList;updateServerListEntry(Lnet/minecraft/client/network/ServerInfo;)V