Class ServerData

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

public class ServerData extends Object
  • Field Details

  • Constructor Details

    • ServerData

      public ServerData(String p_105375_, String p_105376_, boolean p_105377_)
  • Method Details

    • write

      public CompoundTag write()
    • getResourcePackStatus

      public ServerData.ServerPackStatus getResourcePackStatus()
    • setResourcePackStatus

      public void setResourcePackStatus(ServerData.ServerPackStatus p_105380_)
    • read

      public static ServerData read(CompoundTag p_105386_)
    • getIconB64

      @Nullable public String getIconB64()
    • parseFavicon

      public static String parseFavicon(String p_233809_) throws ParseException
      Throws:
      ParseException
    • setIconB64

      public void setIconB64(@Nullable String p_105384_)
    • isLan

      public boolean isLan()
    • setEnforcesSecureChat

      public void setEnforcesSecureChat(boolean p_242972_)
    • enforcesSecureChat

      public boolean enforcesSecureChat()
    • copyNameIconFrom

      public void copyNameIconFrom(ServerData p_233804_)
    • copyFrom

      public void copyFrom(ServerData p_105382_)