Uses of Record Class
net.minecraft.server.jsonrpc.api.PlayerDto
Packages that use PlayerDto
Package
Description
-
Uses of PlayerDto in net.minecraft.server.jsonrpc
Fields in net.minecraft.server.jsonrpc with type parameters of type PlayerDtoModifier and TypeFieldDescriptionstatic final Holder.Reference<OutgoingRpcMethod.Notification<PlayerDto>> OutgoingRpcMethods.PLAYER_ADDED_TO_ALLOWLISTstatic final Holder.Reference<OutgoingRpcMethod.Notification<PlayerDto>> OutgoingRpcMethods.PLAYER_JOINEDstatic final Holder.Reference<OutgoingRpcMethod.Notification<PlayerDto>> OutgoingRpcMethods.PLAYER_LEFTstatic final Holder.Reference<OutgoingRpcMethod.Notification<PlayerDto>> OutgoingRpcMethods.PLAYER_REMOVED_FROM_ALLOWLISTstatic final Holder.Reference<OutgoingRpcMethod.Notification<PlayerDto>> OutgoingRpcMethods.PLAYER_UNBANNED -
Uses of PlayerDto in net.minecraft.server.jsonrpc.api
Fields in net.minecraft.server.jsonrpc.api with type parameters of type PlayerDtoModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<PlayerDto> PlayerDto.CODECMethods in net.minecraft.server.jsonrpc.api that return PlayerDto -
Uses of PlayerDto in net.minecraft.server.jsonrpc.methods
Fields in net.minecraft.server.jsonrpc.methods declared as PlayerDtoModifier and TypeFieldDescriptionprivate final PlayerDtoBanlistService.UserBanDto.playerThe field for theplayerrecord component.private final PlayerDtoOperatorService.OperatorDto.playerThe field for theplayerrecord component.private final PlayerDtoPlayerService.KickDto.playerThe field for theplayerrecord component.Fields in net.minecraft.server.jsonrpc.methods with type parameters of type PlayerDtoModifier and TypeFieldDescriptionIpBanlistService.IncomingIpBanDto.playerThe field for theplayerrecord component.ServerStateService.ServerState.playersThe field for theplayersrecord component.ServerStateService.SystemMessage.receivingPlayersThe field for thereceivingPlayersrecord component.Methods in net.minecraft.server.jsonrpc.methods that return PlayerDtoModifier and TypeMethodDescriptionBanlistService.UserBanDto.player()Returns the value of theplayerrecord component.OperatorService.OperatorDto.player()Returns the value of theplayerrecord component.PlayerService.KickDto.player()Returns the value of theplayerrecord component.Methods in net.minecraft.server.jsonrpc.methods that return types with arguments of type PlayerDtoModifier and TypeMethodDescriptionAllowlistService.add(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) AllowlistService.clear(MinecraftApi pApi, ClientInfo pClientInfo) AllowlistService.get(MinecraftApi pApi) PlayerService.get(MinecraftApi pApi) PlayerService.kick(MinecraftApi pApi, List<PlayerService.KickDto> pKicks, ClientInfo pClientInfo) IpBanlistService.IncomingIpBanDto.player()Returns the value of theplayerrecord component.ServerStateService.ServerState.players()Returns the value of theplayersrecord component.ServerStateService.SystemMessage.receivingPlayers()Returns the value of thereceivingPlayersrecord component.AllowlistService.remove(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) AllowlistService.set(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) Methods in net.minecraft.server.jsonrpc.methods with parameters of type PlayerDtoModifier and TypeMethodDescriptionprivate static ServerPlayerPlayerService.getServerPlayer(MinecraftApi pApi, PlayerDto pPlayer) Method parameters in net.minecraft.server.jsonrpc.methods with type arguments of type PlayerDtoModifier and TypeMethodDescriptionAllowlistService.add(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) AllowlistService.remove(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) static List<BanlistService.UserBanDto> BanlistService.remove(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) static List<OperatorService.OperatorDto> OperatorService.remove(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) AllowlistService.set(MinecraftApi pApi, List<PlayerDto> pPlayers, ClientInfo pClientInfo) Constructors in net.minecraft.server.jsonrpc.methods with parameters of type PlayerDtoModifierConstructorDescriptionCreates an instance of aKickDtorecord class.OperatorDto(PlayerDto player, Optional<Integer> permissionLevel, Optional<Boolean> bypassesPlayerLimit) Creates an instance of aOperatorDtorecord class.UserBanDto(PlayerDto player, Optional<String> reason, Optional<String> source, Optional<Instant> expires) Creates an instance of aUserBanDtorecord class.Constructor parameters in net.minecraft.server.jsonrpc.methods with type arguments of type PlayerDtoModifierConstructorDescriptionIncomingIpBanDto(Optional<PlayerDto> player, Optional<String> ip, Optional<String> reason, Optional<String> source, Optional<Instant> expires) Creates an instance of aIncomingIpBanDtorecord class.ServerState(boolean started, List<PlayerDto> players, ServerStatus.Version version) Creates an instance of aServerStaterecord class.SystemMessage(Message message, boolean overlay, Optional<List<PlayerDto>> receivingPlayers) Creates an instance of aSystemMessagerecord class.