Class RealmsServer

    • Field Detail

      • LOGGER

        private static final org.apache.logging.log4j.Logger LOGGER
      • id

        public long id
      • remoteSubscriptionId

        public java.lang.String remoteSubscriptionId
      • name

        public java.lang.String name
      • motd

        public java.lang.String motd
      • owner

        public java.lang.String owner
      • ownerUUID

        public java.lang.String ownerUUID
      • players

        public java.util.List<PlayerInfo> players
      • expired

        public boolean expired
      • expiredTrial

        public boolean expiredTrial
      • daysLeft

        public int daysLeft
      • activeSlot

        public int activeSlot
      • minigameName

        public java.lang.String minigameName
      • minigameId

        public int minigameId
      • minigameImage

        public java.lang.String minigameImage
    • Constructor Detail

      • RealmsServer

        public RealmsServer()
    • Method Detail

      • getDescription

        public java.lang.String getDescription()
      • getName

        public java.lang.String getName()
      • getMinigameName

        public java.lang.String getMinigameName()
      • setName

        public void setName​(java.lang.String p_230773_1_)
      • setDescription

        public void setDescription​(java.lang.String p_230777_1_)
      • parse

        public static RealmsServer parse​(com.google.gson.JsonObject p_230770_0_)
      • sortInvited

        private static void sortInvited​(RealmsServer p_230771_0_)
      • parseInvited

        private static java.util.List<PlayerInfo> parseInvited​(com.google.gson.JsonArray p_230769_0_)
      • parseSlots

        private static java.util.Map<java.lang.Integer,​RealmsWorldOptions> parseSlots​(com.google.gson.JsonArray p_230776_0_)
      • createEmptySlots

        private static java.util.Map<java.lang.Integer,​RealmsWorldOptions> createEmptySlots()
      • parse

        public static RealmsServer parse​(java.lang.String p_230779_0_)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object p_equals_1_)
        Overrides:
        equals in class java.lang.Object
      • clone

        public RealmsServer clone()
        Overrides:
        clone in class java.lang.Object
      • getWorldName

        public java.lang.String getWorldName​(int p_237696_1_)
      • toServerData

        public ServerData toServerData​(java.lang.String p_244783_1_)