Class ServerData

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

public class ServerData extends Object
  • Field Details

  • Constructor Details

  • 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_)
    • getIconBytes

      @Nullable public byte[] getIconBytes()
    • setIconBytes

      public void setIconBytes(@Nullable byte[] p_272760_)
    • isLan

      public boolean isLan()
    • isRealm

      public boolean isRealm()
    • 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_)
    • validateIcon

      @Nullable public static byte[] validateIcon(@Nullable byte[] p_301776_)