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
net.minecraft.src.C_411159_
net.minecraft.server.jsonrpc.api.PlayerDto

字段概要

修饰符与类型字段
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_

构造函数概要

修饰符构造函数
public (Optional<UUID> id, Optional<String> name)

方法概要

修饰符与类型方法
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(bbx arg0)
from(NameAndId arg0)
method_73709(class_11560 arg0)
of(PlayerConfigEntry player)
m_416691_(C_410914_ p_429617_)
public static PlayerDto
a(axg 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_()