com.mojang.realmsclient.dto

public class RealmsServer

extends ValueObject

eri
com.mojang.realmsclient.dto.RealmsServer
net.minecraft.class_4877
net.minecraft.client.realms.dto.RealmsServer
net.minecraft.src.C_3244_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
w
LOGGER
field_22617
LOGGER
f_87491_
private static final int
x
NO_VALUE
field_46696
NO_PARENT
f_303004_
public long
a
id
field_22599
id
f_87473_
public String
b
remoteSubscriptionId
field_22600
remoteSubscriptionId
f_87474_
public String
c
name
field_22601
name
f_87475_
public String
d
motd
field_22602
description
f_87476_
public RealmsServer$State
e
state
field_22603
state
f_87477_
public String
f
owner
field_22604
owner
f_87478_
public UUID
g
ownerUUID
field_22605
ownerUUID
f_87479_
public List<PlayerInfo>
h
players
field_22606
players
f_87480_
public Map<Integer, RealmsWorldOptions>
i
slots
field_22607
slots
f_87481_
public boolean
j
expired
field_22608
expired
f_87482_
public boolean
k
expiredTrial
field_22609
expiredTrial
f_87483_
public int
l
daysLeft
field_22610
daysLeft
f_87484_
public RealmsServer$WorldType
m
worldType
field_22611
worldType
f_87485_
public int
n
activeSlot
field_22612
activeSlot
f_87486_
public String
o
minigameName
field_22613
minigameName
f_87487_
public int
p
minigameId
field_22614
minigameId
f_87488_
public String
q
minigameImage
field_22615
minigameImage
f_87489_
public long
r
parentWorldId
field_46692
parentWorldId
f_303806_
public String
s
parentWorldName
field_46693
parentWorldName
f_302572_
public String
t
activeVersion
field_46694
activeVersion
f_303415_
public RealmsServer$Compatibility
u
compatibility
field_46695
compatibility
f_302826_
public RealmsServerPing
v
serverPing
field_22616
serverPing
f_87490_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public String
a()
getDescription()
method_25053()
getDescription()
m_87494_()
public String
b()
getName()
method_25062()
getName()
m_87512_()
public String
c()
getMinigameName()
method_25065()
getMinigameName()
m_87517_()
public void
a(String arg0)
setName(String arg0)
method_25060(String arg0)
setName(String name)
m_87508_(String arg0)
public void
b(String arg0)
setDescription(String arg0)
method_25064(String arg0)
setDescription(String description)
m_87515_(String arg0)
public void
a(erm arg0)
updateServerPing(RealmsServerPlayerList arg0)
method_25059(class_4881 arg0)
updateServerPing(RealmsServerPlayerList serverPlayerList)
m_87506_(C_3251_ arg0)
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)
m_87499_(com.google.gson.JsonObject p_87500_)
private static void
a(eri arg0)
sortInvited(RealmsServer arg0)
method_25058(class_4877 arg0)
sortInvited(RealmsServer server)
m_87504_(C_3244_ p_87505_)
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)
m_87497_(com.google.gson.JsonArray p_87498_)
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)
m_87513_(com.google.gson.JsonArray p_87514_)
private static Map<Integer, RealmsWorldOptions>
i()
createEmptySlots()
method_25069()
getEmptySlots()
m_87524_()
public static RealmsServer
c(String arg0)
parse(String arg0)
method_25066(String arg0)
parse(String json)
m_87518_(String p_87519_)
private static RealmsServer$State
f(String arg0)
getState(String arg0)
method_25068(String arg0)
getState(String state)
m_87525_(String p_87526_)
private static RealmsServer$WorldType
g(String arg0)
getWorldType(String arg0)
method_25070(String arg0)
getWorldType(String worldType)
m_87529_(String p_87530_)
public static RealmsServer$Compatibility
d(String arg0)
getCompatibility(String arg0)
method_54366(String arg0)
getCompatibility(String compatibility)
m_305316_(String p_311807_)
public boolean
d()
isCompatible()
method_54363()
isCompatible()
m_307151_()
public boolean
e()
needsUpgrade()
method_54364()
needsUpgrade()
m_306853_()
public boolean
f()
needsDowngrade()
method_54365()
needsDowngrade()
m_307341_()
public RealmsServer
g()
clone()
method_25067()
clone()
clone()
public Map<Integer, RealmsWorldOptions>
a(Map<Integer, erp> arg0)
cloneSlots(Map<Integer, RealmsWorldOptions> arg0)
method_25061(Map<Integer, class_4883> arg0)
cloneSlots(Map<Integer, RealmsWorldOptions> slots)
m_87510_(Map<Integer, C_3253_> arg0)
public boolean
h()
isSnapshotRealm()
method_54367()
hasParentWorld()
m_307276_()
public String
a(int arg0)
getWorldName(int arg0)
method_25054(int arg0)
getWorldName(int slotId)
m_87495_(int arg0)
public ServerData
e(String arg0)
toServerData(String arg0)
method_31403(String arg0)
createServerInfo(String address)
m_87522_(String arg0)