Class ServerList

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

public class ServerList extends Object
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • minecraft

      private final Minecraft minecraft
    • serverList

      private final List<ServerData> serverList
  • Constructor Details

    • ServerList

      public ServerList(Minecraft p_105430_)
  • Method Details

    • load

      public void load()
    • save

      public void save()
    • get

      public ServerData get(int p_105433_)
    • remove

      public void remove(ServerData p_105441_)
    • add

      public void add(ServerData p_105444_)
    • size

      public int size()
    • swap

      public void swap(int p_105435_, int p_105436_)
    • replace

      public void replace(int p_105438_, ServerData p_105439_)
    • saveSingleServer

      public static void saveSingleServer(ServerData p_105447_)