com.mojang.realmsclient.dto

public class RealmsServer

extends ValueObject implements ReflectionBasedSerialization

All mapped superinterfaces:

ReflectionBasedSerialization

fpw
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
z
LOGGER
field_22617
LOGGER
f_87491_
private static final int
A
NO_VALUE
field_46696
NO_PARENT
f_303004_
public static final Component
a
WORLD_CLOSED_COMPONENT
field_60860
REALM_CLOSED_TEXT
f_399280_
public long
b
id
field_22599
id
f_87473_
public String
c
remoteSubscriptionId
field_22600
remoteSubscriptionId
f_87474_
public String
d
name
field_22601
name
f_87475_
public String
e
motd
field_22602
description
f_87476_
public RealmsServer$State
f
state
field_22603
state
f_87477_
public String
g
owner
field_22604
owner
f_87478_
public UUID
h
ownerUUID
field_22605
ownerUUID
f_87479_
public List<PlayerInfo>
i
players
field_22606
players
f_87480_
private List<RealmsSlot>
B
slotList
field_60203
emptySlots
f_399953_
public Map<Integer, RealmsSlot>
j
slots
field_22607
slots
f_87481_
public boolean
k
expired
field_22608
expired
f_87482_
public boolean
l
expiredTrial
field_22609
expiredTrial
f_87483_
public int
m
daysLeft
field_22610
daysLeft
f_87484_
public RealmsServer$WorldType
n
worldType
field_22611
worldType
f_87485_
public boolean
o
isHardcore
field_54807
hardcore
f_349343_
public int
p
gameMode
field_54808
gameMode
f_349064_
public int
q
activeSlot
field_22612
activeSlot
f_87486_
public String
r
minigameName
field_22613
minigameName
f_87487_
public int
s
minigameId
field_22614
minigameId
f_87488_
public String
t
minigameImage
field_22615
minigameImage
f_87489_
public long
u
parentRealmId
field_46692
parentWorldId
f_314715_
public String
v
parentWorldName
field_46693
parentWorldName
f_302572_
public String
w
activeVersion
field_46694
activeVersion
f_303415_
public RealmsServer$Compatibility
x
compatibility
field_46695
compatibility
f_302826_
public RegionSelectionPreferenceDto
y
regionSelectionPreference
field_60204
regionSelectionPreference
f_399672_

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 static RealmsServer
a(fpj arg0, String arg1)
parse(GuardedSerializer arg0, String arg1)
method_25066(class_4869 arg0, String arg1)
parse(CheckedGson gson, String json)
m_87499_(C_3236_ p_408527_, String p_410014_)
public static void
a(fpw arg0)
finalize(RealmsServer arg0)
method_71176(class_4877 arg0)
replaceNullsWithDefaults(RealmsServer server)
m_402356_(C_3244_ p_405956_)
private static void
b(fpw arg0)
sortInvited(RealmsServer arg0)
method_25058(class_4877 arg0)
sortInvited(RealmsServer server)
m_87504_(C_3244_ p_87505_)
private static void
c(fpw arg0)
finalizeSlots(RealmsServer arg0)
method_71178(class_4877 arg0)
populateSlots(RealmsServer server)
m_402884_(C_3244_ p_408089_)
private static List<RealmsSlot>
k()
createEmptySlots()
method_25069()
getEmptySlots()
m_87524_()
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 boolean
g()
shouldPlayButtonBeActive()
method_71972()
shouldAllowPlay()
m_404390_()
private boolean
l()
isSelfOwnedServer()
method_71973()
isPlayerOwner()
m_401547_()
public RealmsServer
h()
clone()
method_25067()
clone()
clone()
public Map<Integer, RealmsSlot>
a(Map<Integer, fqa> arg0)
cloneSlots(Map<Integer, RealmsSlot> arg0)
method_25061(Map<Integer, class_11306> arg0)
cloneSlots(Map<Integer, RealmsSlot> slots)
m_87510_(Map<Integer, C_398298_> arg0)
public boolean
i()
isSnapshotRealm()
method_54367()
isPrerelease()
m_307276_()
public boolean
j()
isMinigameActive()
method_60315()
isMinigame()
m_338584_()
public String
a(int arg0)
getWorldName(int arg0)
method_25054(int arg0)
getWorldName(int slotId)
m_87495_(int arg0)
public ServerData
c(String arg0)
toServerData(String arg0)
method_31403(String arg0)
createServerInfo(String address)
m_87522_(String arg0)