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 p_120007_, NameAndId p_434311_) booleanIntegratedServer.isSingleplayerOwner(NameAndId p_433537_) -
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> context, String name) GameProfileArgument.Result.getNames(CommandSourceStack source) GameProfileArgument.SelectorResult.getNames(CommandSourceStack p_94607_) -
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 p_436045_) -
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 TypeMethodDescriptionintMinecraftServer.getProfilePermissions(NameAndId user) abstract booleanMinecraftServer.isSingleplayerOwner(NameAndId player) -
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> players) private static intBanPlayerCommands.banPlayers(CommandSourceStack source, Collection<NameAndId> gameProfiles, Component reason) private static intDeOpCommands.deopPlayers(CommandSourceStack source, Collection<NameAndId> players) private static intOpCommand.opPlayers(CommandSourceStack source, Collection<NameAndId> gameProfiles) private static intPardonCommand.pardonPlayers(CommandSourceStack source, Collection<NameAndId> gameProfiles) private static intWhitelistCommand.removePlayers(CommandSourceStack source, Collection<NameAndId> players) -
Uses of NameAndId in net.minecraft.server.dedicated
Methods in net.minecraft.server.dedicated with parameters of type NameAndIdModifier and TypeMethodDescriptionbooleanDedicatedPlayerList.canBypassPlayerLimit(NameAndId p_434249_) booleanDedicatedServer.isSingleplayerOwner(NameAndId p_433969_) booleanDedicatedPlayerList.isWhiteListed(NameAndId p_433903_) -
Uses of NameAndId in net.minecraft.server.jsonrpc
Methods in net.minecraft.server.jsonrpc with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidJsonRpcNotificationService.playerAddedToAllowlist(NameAndId p_443066_) voidJsonRpcNotificationService.playerRemovedFromAllowlist(NameAndId p_443379_) voidJsonRpcNotificationService.playerUnbanned(NameAndId p_443351_) -
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 p_449062_) MinecraftPlayerListService.fetchUserByName(String name) MinecraftPlayerListServiceImpl.fetchUserByName(String p_449968_) MinecraftPlayerListService.getCachedUserById(UUID id) MinecraftPlayerListServiceImpl.getCachedUserById(UUID p_449602_) 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 p_449033_, ClientInfo p_449483_) voidMinecraftOperatorListService.op(NameAndId nameAndId, Optional<Integer> permissionLevel, Optional<Boolean> canBypassPlayerLimit, ClientInfo clientInfo) voidMinecraftOperatorListService.op(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftOperatorListServiceImpl.op(NameAndId p_449132_, Optional<Integer> p_449016_, Optional<Boolean> p_449888_, ClientInfo p_449789_) voidMinecraftOperatorListServiceImpl.op(NameAndId p_449986_, ClientInfo p_449345_) voidMinecraftAllowListService.remove(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftAllowListServiceImpl.remove(NameAndId p_449664_, ClientInfo p_449053_) voidMinecraftBanListService.removeUserBan(NameAndId nameAndId, ClientInfo clientInfo) voidMinecraftBanListServiceImpl.removeUserBan(NameAndId p_449835_, ClientInfo p_449514_) -
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 NameAndIdModifierConstructorDescription(package private)Creates an instance of aOprecord class.(package private)Creates an instance of aUserBanrecord class. -
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 p_443022_) voidNotificationManager.playerAddedToAllowlist(NameAndId p_442558_) voidNotificationService.playerAddedToAllowlist(NameAndId player) voidEmptyNotificationService.playerRemovedFromAllowlist(NameAndId p_443591_) voidNotificationManager.playerRemovedFromAllowlist(NameAndId p_443493_) voidNotificationService.playerRemovedFromAllowlist(NameAndId player) voidEmptyNotificationService.playerUnbanned(NameAndId p_443003_) voidNotificationManager.playerUnbanned(NameAndId p_442721_) voidNotificationService.playerUnbanned(NameAndId player) -
Uses of NameAndId in net.minecraft.server.players
Fields 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 username) static NameAndIdNameAndId.fromJson(JsonObject json) CachedUserNameToIdResolver.GameProfileInfo.nameAndId()Methods in net.minecraft.server.players that return types with arguments of type NameAndIdModifier and TypeMethodDescriptionprotected StoredUserEntry<NameAndId> ServerOpList.createEntry(JsonObject entryData) protected StoredUserEntry<NameAndId> UserBanList.createEntry(JsonObject entryData) protected StoredUserEntry<NameAndId> UserWhiteList.createEntry(JsonObject entryData) CachedUserNameToIdResolver.createUnknownProfile(String username) CachedUserNameToIdResolver.lookupGameProfile(com.mojang.authlib.GameProfileRepository profileRepository, String username) Methods in net.minecraft.server.players with parameters of type NameAndIdModifier and TypeMethodDescriptionvoidvoidCachedUserNameToIdResolver.addInternal(NameAndId nameAndId) booleanPlayerList.canBypassPlayerLimit(NameAndId nameAndId) booleanServerOpList.canBypassPlayerLimit(NameAndId nameAndId) PlayerList.canPlayerLogin(SocketAddress address, NameAndId nameAndId) voidprotected StringServerOpList.getKeyForUser(NameAndId p_433823_) protected StringUserBanList.getKeyForUser(NameAndId p_434532_) protected StringUserWhiteList.getKeyForUser(NameAndId p_435738_) booleanbooleanbooleanPlayerList.isWhiteListed(NameAndId nameAndId) booleanUserWhiteList.isWhiteListed(NameAndId user) PlayerList.loadPlayerData(NameAndId nameAndId) voidvoidPlayerList.op(NameAndId nameAndId, Optional<Integer> permissionLevel, Optional<Boolean> canBypassPlayerLimit) booleanbooleanbooleanConstructors in net.minecraft.server.players with parameters of type NameAndIdModifierConstructorDescription(package private)GameProfileInfo(NameAndId nameAndId, Date expirationDate) ServerOpListEntry(NameAndId user, int level, boolean bypassesPlayerLimit) UserBanListEntry(NameAndId user) 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, int newLevel, PlayerList playerList)