net.minecraft.server.jsonrpc.api

public record PlayerDto

atu
net.minecraft.server.jsonrpc.api.PlayerDto
net.minecraft.class_11819
net.minecraft.server.dedicated.management.RpcPlayer
net.minecraft.src.C_411159_
net.minecraft.server.jsonrpc.api.PlayerDto

Field summary

Modifier and TypeField
private final Optional<UUID>
b
id
comp_4689
id
f_413532_
private final Optional<String>
c
name
comp_4690
name
f_412107_
public static final com.mojang.serialization.MapCodec<PlayerDto>
a
CODEC
field_62344
CODEC
f_412164_

Constructor summary

ModifierConstructor
public (Optional<UUID> name, Optional<String> arg1)

Method summary

Modifier and TypeMethod
public static PlayerDto
a(com.mojang.authlib.GameProfile arg0)
from(com.mojang.authlib.GameProfile arg0)
method_73710(com.mojang.authlib.GameProfile arg0)
of(com.mojang.authlib.GameProfile profile)
m_416872_(com.mojang.authlib.GameProfile p_422601_)
public static PlayerDto
a(bbb arg0)
from(NameAndId arg0)
method_73709(class_11560 arg0)
of(PlayerConfigEntry player)
m_416691_(C_410914_ p_429617_)
public static PlayerDto
a(awy arg0)
from(ServerPlayer arg0)
method_73708(class_3222 arg0)
of(ServerPlayerEntity player)
m_415028_(C_13_ p_428320_)
public Optional<UUID>
a()
id()
comp_4689()
id()
f_413532_()
public Optional<String>
b()
name()
comp_4690()
name()
f_412107_()