com.mojang.realmsclient.dto

public class RealmsServer

extends ValueObject

fhm
com.mojang.realmsclient.dto.RealmsServer
net.minecraft.class_4877
net.minecraft.client.realms.dto.RealmsServer

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
x
LOGGER
field_22617
LOGGER
private static final int
y
NO_VALUE
field_46696
NO_PARENT
public long
a
id
field_22599
id
public String
b
remoteSubscriptionId
field_22600
remoteSubscriptionId
public String
c
name
field_22601
name
public String
d
motd
field_22602
description
public RealmsServer$State
e
state
field_22603
state
public String
f
owner
field_22604
owner
public UUID
g
ownerUUID
field_22605
ownerUUID
public List<PlayerInfo>
h
players
field_22606
players
public Map<Integer, RealmsWorldOptions>
i
slots
field_22607
slots
public boolean
j
expired
field_22608
expired
public boolean
k
expiredTrial
field_22609
expiredTrial
public int
l
daysLeft
field_22610
daysLeft
public RealmsServer$WorldType
m
worldType
field_22611
worldType
public boolean
n
isHardcore
field_54807
hardcore
public int
o
gameMode
field_54808
gameMode
public int
p
activeSlot
field_22612
activeSlot
public String
q
minigameName
field_22613
minigameName
public int
r
minigameId
field_22614
minigameId
public String
s
minigameImage
field_22615
minigameImage
public long
t
parentRealmId
field_46692
parentWorldId
public String
u
parentWorldName
field_46693
parentWorldName
public String
v
activeVersion
field_46694
activeVersion
public RealmsServer$Compatibility
w
compatibility
field_46695
compatibility

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public String
a()
getDescription()
method_25053()
getDescription()
public String
b()
getName()
method_25062()
getName()
public String
c()
getMinigameName()
method_25065()
getMinigameName()
public void
a(String arg0)
setName(String arg0)
method_25060(String arg0)
setName(String name)
public void
b(String arg0)
setDescription(String arg0)
method_25064(String arg0)
setDescription(String description)
public static RealmsServer
a(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject arg0)
method_25056(com.google.gson.JsonObject arg0)
parse(com.google.gson.JsonObject node)
private static void
a(fhm arg0)
sortInvited(RealmsServer arg0)
method_25058(class_4877 arg0)
sortInvited(RealmsServer server)
private static List<PlayerInfo>
a(com.google.gson.JsonArray arg0)
parseInvited(com.google.gson.JsonArray arg0)
method_25055(com.google.gson.JsonArray arg0)
parseInvited(com.google.gson.JsonArray jsonArray)
private static Map<Integer, RealmsWorldOptions>
b(com.google.gson.JsonArray arg0)
parseSlots(com.google.gson.JsonArray arg0)
method_25063(com.google.gson.JsonArray arg0)
parseSlots(com.google.gson.JsonArray json)
private static RealmsSettings
a(com.google.gson.JsonElement arg0)
parseSettings(com.google.gson.JsonElement arg0)
method_64843(com.google.gson.JsonElement arg0)
parseSettings(com.google.gson.JsonElement json)
private static boolean
a(com.google.gson.JsonObject arg0, String arg1, boolean arg2)
readBoolean(com.google.gson.JsonObject arg0, String arg1, boolean arg2)
method_64844(com.google.gson.JsonObject arg0, String arg1, boolean arg2)
isSet(com.google.gson.JsonObject json, String name, boolean defaultValue)
private static Map<Integer, RealmsWorldOptions>
j()
createEmptySlots()
method_25069()
getEmptySlots()
public static RealmsServer
c(String arg0)
parse(String arg0)
method_25066(String arg0)
parse(String json)
private static RealmsServer$State
f(String arg0)
getState(String arg0)
method_25068(String arg0)
getState(String state)
private static RealmsServer$WorldType
g(String arg0)
getWorldType(String arg0)
method_25070(String arg0)
getWorldType(String worldType)
public static RealmsServer$Compatibility
d(String arg0)
getCompatibility(String arg0)
method_54366(String arg0)
getCompatibility(String compatibility)
public boolean
d()
isCompatible()
method_54363()
isCompatible()
public boolean
e()
needsUpgrade()
method_54364()
needsUpgrade()
public boolean
f()
needsDowngrade()
method_54365()
needsDowngrade()
public RealmsServer
g()
clone()
method_25067()
clone()
public Map<Integer, RealmsWorldOptions>
a(Map<Integer, fhs> arg0)
cloneSlots(Map<Integer, RealmsWorldOptions> arg0)
method_25061(Map<Integer, class_4883> arg0)
cloneSlots(Map<Integer, RealmsWorldOptions> slots)
public boolean
h()
isSnapshotRealm()
method_54367()
isPrerelease()
public boolean
i()
isMinigameActive()
method_60315()
isMinigame()
public String
a(int arg0)
getWorldName(int arg0)
method_25054(int arg0)
getWorldName(int slotId)
public ServerData
e(String arg0)
toServerData(String arg0)
method_31403(String arg0)
createServerInfo(String address)