net.minecraft.server.jsonrpc.api

public record PlayerDto

aue
net.minecraft.server.jsonrpc.api.PlayerDto
net.minecraft.class_11819
net.minecraft.server.dedicated.management.RpcPlayer

Field summary

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

Constructor summary

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

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)
public static PlayerDto
a(bbw arg0)
from(NameAndId arg0)
method_73709(class_11560 arg0)
of(PlayerConfigEntry player)
public static PlayerDto
a(axg arg0)
from(ServerPlayer arg0)
method_73708(class_3222 arg0)
of(ServerPlayerEntity player)
public Optional<UUID>
a()
id()
comp_4689()
id()
public Optional<String>
b()
name()
comp_4690()
name()