Uses of Record Class
net.minecraft.server.players.NameAndId
Packages that use NameAndId
Package
Description
-
Uses of NameAndId in net.minecraft.client.server
Methods in net.minecraft.client.server with parameters of type NameAndIdModifier and TypeMethodDescriptionIntegratedPlayerList.canPlayerLogin(SocketAddress address, NameAndId nameAndId) booleanIntegratedServer.isSingleplayerOwner(NameAndId nameAndId) -
Uses of NameAndId in net.minecraft.commands.arguments
Methods in net.minecraft.commands.arguments that return types with arguments of type NameAndIdModifier and TypeMethodDescriptionstatic Collection<NameAndId> GameProfileArgument.getGameProfiles(com.mojang.brigadier.context.CommandContext<CommandSourceStack> source, String name) GameProfileArgument.Result.getNames(CommandSourceStack sender) GameProfileArgument.SelectorResult.getNames(CommandSourceStack sender) -
Uses of NameAndId in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework with type parameters of type NameAndIdMethods in net.minecraft.gametest.framework that return types with arguments of type NameAndIdModifier and TypeMethodDescriptionMethods in net.minecraft.gametest.framework with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidbooleanGameTestServer.isSingleplayerOwner(NameAndId nameAndId) -
Uses of NameAndId in net.minecraft.network.protocol.status
Fields in net.minecraft.network.protocol.status with type parameters of type NameAndIdModifier and TypeFieldDescriptionServerStatus.Players.sampleThe field for thesamplerecord component.Methods in net.minecraft.network.protocol.status that return types with arguments of type NameAndIdModifier and TypeMethodDescriptionServerStatus.Players.sample()Returns the value of thesamplerecord component.Constructor parameters in net.minecraft.network.protocol.status with type arguments of type NameAndId -
Uses of NameAndId in net.minecraft.server
Fields in net.minecraft.server declared as NameAndIdMethods in net.minecraft.server with parameters of type NameAndIdModifier and TypeMethodDescriptionMinecraftServer.getProfilePermissions(NameAndId nameAndId) abstract booleanMinecraftServer.isSingleplayerOwner(NameAndId nameAndId) -
Uses of NameAndId in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type NameAndIdModifier and TypeMethodDescriptionprivate static intWhitelistCommand.addPlayers(CommandSourceStack source, Collection<NameAndId> targets) private static intBanPlayerCommands.banPlayers(CommandSourceStack source, Collection<NameAndId> players, @Nullable Component reason) private static intDeOpCommands.deopPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intOpCommand.opPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intPardonCommand.pardonPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intWhitelistCommand.removePlayers(CommandSourceStack source, Collection<NameAndId> targets) -
Uses of NameAndId in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type NameAndIdModifier and TypeMethodDescriptionbooleanDedicatedPlayerList.canBypassPlayerLimit(NameAndId nameAndId) booleanDedicatedServer.isSingleplayerOwner(NameAndId nameAndId) booleanDedicatedPlayerList.isWhiteListed(NameAndId nameAndId) -
Uses of NameAndId in net.minecraft.server.jsonrpc
Methods in net.minecraft.server.jsonrpc with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidJsonRpcNotificationService.playerAddedToAllowlist(NameAndId player) voidJsonRpcNotificationService.playerRemovedFromAllowlist(NameAndId player) voidJsonRpcNotificationService.playerUnbanned(NameAndId player) -
Uses of NameAndId in net.minecraft.server.jsonrpc.api
Methods in net.minecraft.server.jsonrpc.api with parameters of type NameAndId -
Uses of NameAndId in net.minecraft.server.jsonrpc.internalapi
Methods in net.minecraft.server.jsonrpc.internalapi that return types with arguments of type NameAndIdModifier and TypeMethodDescriptionMinecraftPlayerListService.fetchUserById(UUID id) MinecraftPlayerListServiceImpl.fetchUserById(UUID id) MinecraftPlayerListService.fetchUserByName(String name) MinecraftPlayerListServiceImpl.fetchUserByName(String name) MinecraftPlayerListService.getCachedUserById(UUID id) MinecraftPlayerListServiceImpl.getCachedUserById(UUID id) default CompletableFuture<Optional<NameAndId>> Methods in net.minecraft.server.jsonrpc.internalapi with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidMinecraftOperatorListService.deop(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftOperatorListServiceImpl.deop(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftOperatorListService.op(NameAndId nameAndId, Optional<PermissionLevel> permissionLevel, Optional<Boolean> canBypassPlayerLimit, ClientInfo clientInfo) voidMinecraftOperatorListService.op(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftOperatorListServiceImpl.op(NameAndId nameAndId, Optional<PermissionLevel> permissionLevel, Optional<Boolean> canBypassPlayerLimit, ClientInfo clientInfo) voidMinecraftOperatorListServiceImpl.op(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftAllowListService.remove(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftAllowListServiceImpl.remove(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftBanListService.removeUserBan(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftBanListServiceImpl.removeUserBan(NameAndId nameAndId, ClientInfo clientInfo) -
Uses of NameAndId in net.minecraft.server.jsonrpc.methods
Fields in net.minecraft.server.jsonrpc.methods declared as NameAndIdModifier and TypeFieldDescriptionprivate final NameAndIdBanlistService.UserBan.playerThe field for theplayerrecord component.private final NameAndIdOperatorService.Op.userThe field for theuserrecord component.Methods in net.minecraft.server.jsonrpc.methods that return NameAndIdModifier and TypeMethodDescriptionBanlistService.UserBan.player()Returns the value of theplayerrecord component.OperatorService.Op.user()Returns the value of theuserrecord component.Methods in net.minecraft.server.jsonrpc.methods with parameters of type NameAndIdConstructors in net.minecraft.server.jsonrpc.methods with parameters of type NameAndId -
Uses of NameAndId in net.minecraft.server.network.config
Fields in net.minecraft.server.network.config declared as NameAndIdConstructors in net.minecraft.server.network.config with parameters of type NameAndId -
Uses of NameAndId in net.minecraft.server.notifications
Methods in net.minecraft.server.notifications with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidEmptyNotificationService.playerAddedToAllowlist(NameAndId player) voidNotificationManager.playerAddedToAllowlist(NameAndId player) voidNotificationService.playerAddedToAllowlist(NameAndId player) voidEmptyNotificationService.playerRemovedFromAllowlist(NameAndId player) voidNotificationManager.playerRemovedFromAllowlist(NameAndId player) voidNotificationService.playerRemovedFromAllowlist(NameAndId player) voidEmptyNotificationService.playerUnbanned(NameAndId player) voidNotificationManager.playerUnbanned(NameAndId player) voidNotificationService.playerUnbanned(NameAndId player) -
Uses of NameAndId in net.minecraft.server.players
Subclasses with type arguments of type NameAndId in net.minecraft.server.playersModifier and TypeClassDescriptionclassclassclassclassclassclassFields in net.minecraft.server.players declared as NameAndIdModifier and TypeFieldDescriptionprivate final NameAndIdCachedUserNameToIdResolver.GameProfileInfo.nameAndIdFields in net.minecraft.server.players with type parameters of type NameAndIdModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<NameAndId> NameAndId.CODECMethods in net.minecraft.server.players that return NameAndIdModifier and TypeMethodDescriptionstatic NameAndIdNameAndId.createOffline(String name) static @Nullable NameAndIdNameAndId.fromJson(JsonObject object) CachedUserNameToIdResolver.GameProfileInfo.nameAndId()Methods in net.minecraft.server.players that return types with arguments of type NameAndIdModifier and TypeMethodDescriptionprotected StoredUserEntry<NameAndId> ServerOpList.createEntry(JsonObject object) protected StoredUserEntry<NameAndId> UserBanList.createEntry(JsonObject object) protected StoredUserEntry<NameAndId> UserWhiteList.createEntry(JsonObject object) CachedUserNameToIdResolver.createUnknownProfile(String name) CachedUserNameToIdResolver.lookupGameProfile(com.mojang.authlib.GameProfileRepository profileRepository, String name) Methods in net.minecraft.server.players with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidvoidCachedUserNameToIdResolver.addInternal(NameAndId profile) booleanPlayerList.canBypassPlayerLimit(NameAndId nameAndId) booleanServerOpList.canBypassPlayerLimit(NameAndId user) @Nullable ComponentPlayerList.canPlayerLogin(SocketAddress address, NameAndId nameAndId) voidprotected StringServerOpList.getKeyForUser(NameAndId user) protected StringUserBanList.getKeyForUser(NameAndId user) protected StringUserWhiteList.getKeyForUser(NameAndId user) booleanbooleanbooleanPlayerList.isWhiteListed(NameAndId nameAndId) booleanUserWhiteList.isWhiteListed(NameAndId user) PlayerList.loadPlayerData(NameAndId nameAndId) voidvoidPlayerList.op(NameAndId nameAndId, Optional<LevelBasedPermissionSet> permissions, Optional<Boolean> canBypassPlayerLimit) booleanbooleanbooleanConstructors in net.minecraft.server.players with parameters of type NameAndIdModifierConstructorDescriptionprivateGameProfileInfo(NameAndId nameAndId, Date expirationDate) ServerOpListEntry(NameAndId user, LevelBasedPermissionSet permissions, boolean bypassesPlayerLimit) UserBanListEntry(@Nullable NameAndId user) UserBanListEntry(@Nullable NameAndId user, @Nullable Date created, @Nullable String source, @Nullable Date expires, @Nullable String reason) UserWhiteListEntry(NameAndId user) -
Uses of NameAndId in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player that return NameAndId -
Uses of NameAndId in net.minecraft.world.level.storage
Methods in net.minecraft.world.level.storage with parameters of type NameAndId -
Uses of NameAndId in net.neoforged.neoforge.event
Methods in net.neoforged.neoforge.event with parameters of type NameAndIdModifier and TypeMethodDescriptionstatic booleanEventHooks.onPermissionChanged(NameAndId nameAndId, LevelBasedPermissionSet newPermissions, PlayerList playerList)