Uses of Record Class
com.mojang.authlib.GameProfile
Packages that use GameProfile
Package
Description
-
Uses of GameProfile in com.mojang.authlib.minecraft
Methods in com.mojang.authlib.minecraft with parameters of type GameProfileModifier and TypeMethodDescriptionMinecraftSessionService.getPackedTextures(GameProfile profile) Gets the packed property representation of any textures contained in the given profile.default MinecraftProfileTexturesMinecraftSessionService.getTextures(GameProfile profile) Gets and unpacks any textures contains in the given profile. -
Uses of GameProfile in com.mojang.authlib.yggdrasil
Fields in com.mojang.authlib.yggdrasil declared as GameProfileModifier and TypeFieldDescriptionprivate final GameProfileProfileResult.profileThe field for theprofilerecord component.Methods in com.mojang.authlib.yggdrasil that return GameProfileModifier and TypeMethodDescriptionProfileResult.profile()Returns the value of theprofilerecord component.Methods in com.mojang.authlib.yggdrasil with parameters of type GameProfileModifier and TypeMethodDescriptionYggdrasilMinecraftSessionService.getPackedTextures(GameProfile profile) Constructors in com.mojang.authlib.yggdrasil with parameters of type GameProfileModifierConstructorDescriptionProfileResult(GameProfile profile) ProfileResult(GameProfile profile, Set<ProfileActionType> actions) Creates an instance of aProfileResultrecord class. -
Uses of GameProfile in com.mojang.authlib.yggdrasil.response
Methods in com.mojang.authlib.yggdrasil.response that return GameProfile -
Uses of GameProfile in net.minecraft.client
Methods in net.minecraft.client that return GameProfile -
Uses of GameProfile in net.minecraft.client.gui.screens.reporting
Constructors in net.minecraft.client.gui.screens.reporting with parameters of type GameProfileModifierConstructorDescriptionMessageHeadingEntry(GameProfile profile, Component heading, boolean canReport) -
Uses of GameProfile in net.minecraft.client.gui.screens.social
Methods in net.minecraft.client.gui.screens.social that return types with arguments of type GameProfileModifier and TypeMethodDescriptionprivate static Map<UUID, GameProfile> SocialInteractionsPlayerList.collectProfilesFromChatLog(ChatLog chatLog) -
Uses of GameProfile in net.minecraft.client.multiplayer
Fields in net.minecraft.client.multiplayer declared as GameProfileModifier and TypeFieldDescriptionprivate final GameProfileClientConfigurationPacketListenerImpl.localGameProfileprivate final GameProfileClientPacketListener.localGameProfileprivate final GameProfileCommonListenerCookie.localGameProfileThe field for thelocalGameProfilerecord component.private final GameProfilePlayerInfo.profileMethods in net.minecraft.client.multiplayer that return GameProfileModifier and TypeMethodDescriptionClientPacketListener.getLocalGameProfile()PlayerInfo.getProfile()CommonListenerCookie.localGameProfile()Returns the value of thelocalGameProfilerecord component.Methods in net.minecraft.client.multiplayer with parameters of type GameProfileModifier and TypeMethodDescriptionprivate static Supplier<PlayerSkin> PlayerInfo.createSkinLookup(GameProfile profile) Constructors in net.minecraft.client.multiplayer with parameters of type GameProfileModifierConstructorDescriptionCommonListenerCookie(LevelLoadTracker levelLoadTracker, GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, @Nullable String serverBrand, @Nullable ServerData serverData, @Nullable Screen postDisconnectScreen, Map<Identifier, byte[]> serverCookies, @Nullable ChatComponent.State chatState, Map<String, String> customReportDetails, ServerLinks serverLinks, Map<UUID, PlayerInfo> seenPlayers, boolean seenInsecureChatWarning) Deprecated.CommonListenerCookie(LevelLoadTracker levelLoadTracker, GameProfile localGameProfile, WorldSessionTelemetryManager telemetryManager, RegistryAccess.Frozen receivedRegistries, FeatureFlagSet enabledFeatures, @Nullable String serverBrand, @Nullable ServerData serverData, @Nullable Screen postDisconnectScreen, Map<Identifier, byte[]> serverCookies, @Nullable ChatComponent.State chatState, Map<String, String> customReportDetails, ServerLinks serverLinks, Map<UUID, PlayerInfo> seenPlayers, boolean seenInsecureChatWarning, ConnectionType connectionType) Creates an instance of aCommonListenerCookierecord class.PlayerInfo(GameProfile profile, boolean enforcesSecureChat) -
Uses of GameProfile in net.minecraft.client.multiplayer.chat
Fields in net.minecraft.client.multiplayer.chat declared as GameProfileModifier and TypeFieldDescriptionprivate final GameProfileLoggedChatMessage.Player.profileThe field for theprofilerecord component.Methods in net.minecraft.client.multiplayer.chat that return GameProfileModifier and TypeMethodDescriptionLoggedChatMessage.Player.profile()Returns the value of theprofilerecord component.Methods in net.minecraft.client.multiplayer.chat with parameters of type GameProfileModifier and TypeMethodDescriptionvoidChatListener.handlePlayerChatMessage(PlayerChatMessage message, GameProfile sender, ChatType.Bound boundChatType) private voidChatListener.logPlayerMessage(PlayerChatMessage message, GameProfile sender, ChatTrustLevel trustLevel) static LoggedChatMessage.PlayerLoggedChatMessage.player(GameProfile profile, PlayerChatMessage message, ChatTrustLevel trustLevel) private booleanChatListener.showMessageToPlayer(ChatType.Bound boundChatType, PlayerChatMessage message, Component decoratedMessage, GameProfile sender, boolean onlyShowSecure, Instant received) Constructors in net.minecraft.client.multiplayer.chat with parameters of type GameProfileModifierConstructorDescriptionPlayer(GameProfile profile, PlayerChatMessage message, ChatTrustLevel trustLevel) Creates an instance of aPlayerrecord class. -
Uses of GameProfile in net.minecraft.client.player
Methods in net.minecraft.client.player that return types with arguments of type GameProfileConstructors in net.minecraft.client.player with parameters of type GameProfileModifierConstructorDescriptionAbstractClientPlayer(ClientLevel level, GameProfile gameProfile) RemotePlayer(ClientLevel level, GameProfile gameProfile) -
Uses of GameProfile in net.minecraft.client.renderer
Fields in net.minecraft.client.renderer declared as GameProfileModifier and TypeFieldDescriptionprivate final GameProfilePlayerSkinRenderCache.RenderInfo.gameProfileMethods in net.minecraft.client.renderer that return GameProfileConstructors in net.minecraft.client.renderer with parameters of type GameProfileModifierConstructorDescriptionRenderInfo(GameProfile gameProfile, PlayerSkin playerSkin, PlayerSkin.Patch patch) -
Uses of GameProfile in net.minecraft.client.resources
Methods in net.minecraft.client.resources with parameters of type GameProfileModifier and TypeMethodDescriptionSkinManager.createLookup(GameProfile profile, boolean requireSecure) static PlayerSkinDefaultPlayerSkin.get(GameProfile profile) SkinManager.get(GameProfile profile) -
Uses of GameProfile in net.minecraft.core
Methods in net.minecraft.core that return GameProfileModifier and TypeMethodDescriptionstatic GameProfileUUIDUtil.createOfflineProfile(String playerName) -
Uses of GameProfile in net.minecraft.gametest.framework
Methods in net.minecraft.gametest.framework that return types with arguments of type GameProfile -
Uses of GameProfile in net.minecraft.network.chat
Methods in net.minecraft.network.chat with parameters of type GameProfileModifier and TypeMethodDescriptionRemoteChatSession.Data.validate(GameProfile profile, SignatureValidator serviceSignatureValidator) -
Uses of GameProfile in net.minecraft.network.codec
Fields in net.minecraft.network.codec with type parameters of type GameProfileModifier and TypeFieldDescriptionstatic final StreamCodec<io.netty.buffer.ByteBuf, GameProfile> ByteBufCodecs.GAME_PROFILE -
Uses of GameProfile in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as GameProfileModifier and TypeFieldDescriptionprivate final @Nullable GameProfileClientboundPlayerInfoUpdatePacket.Entry.profileThe field for theprofilerecord component.private @Nullable GameProfileClientboundPlayerInfoUpdatePacket.EntryBuilder.profileMethods in net.minecraft.network.protocol.game that return GameProfileModifier and TypeMethodDescription@Nullable GameProfileClientboundPlayerInfoUpdatePacket.Entry.profile()Returns the value of theprofilerecord component.Constructors in net.minecraft.network.protocol.game with parameters of type GameProfileModifierConstructorDescriptionEntry(UUID profileId, @Nullable GameProfile profile, boolean listed, int latency, GameType gameMode, @Nullable Component displayName, boolean showHat, int listOrder, @Nullable RemoteChatSession.Data chatSession) Creates an instance of aEntryrecord class. -
Uses of GameProfile in net.minecraft.network.protocol.login
Fields in net.minecraft.network.protocol.login declared as GameProfileModifier and TypeFieldDescriptionprivate final GameProfileClientboundLoginFinishedPacket.gameProfileThe field for thegameProfilerecord component.Methods in net.minecraft.network.protocol.login that return GameProfileModifier and TypeMethodDescriptionClientboundLoginFinishedPacket.gameProfile()Returns the value of thegameProfilerecord component.Constructors in net.minecraft.network.protocol.login with parameters of type GameProfileModifierConstructorDescriptionClientboundLoginFinishedPacket(GameProfile gameProfile) Creates an instance of aClientboundLoginFinishedPacketrecord class. -
Uses of GameProfile in net.minecraft.server
Fields in net.minecraft.server declared as GameProfileModifier and TypeFieldDescriptionprivate @Nullable GameProfileMinecraftServer.singleplayerProfileMethods in net.minecraft.server that return GameProfileMethods in net.minecraft.server with parameters of type GameProfileModifier and TypeMethodDescriptionvoidMinecraftServer.setSingleplayerProfile(@Nullable GameProfile singleplayerProfile) -
Uses of GameProfile in net.minecraft.server.commands
Methods in net.minecraft.server.commands with parameters of type GameProfileModifier and TypeMethodDescriptionprivate static voidFetchProfileCommand.reportResolvedProfile(CommandSourceStack sender, GameProfile gameProfile, String messageId, Component argument) -
Uses of GameProfile in net.minecraft.server.jsonrpc.api
Methods in net.minecraft.server.jsonrpc.api with parameters of type GameProfile -
Uses of GameProfile in net.minecraft.server.level
Constructors in net.minecraft.server.level with parameters of type GameProfileModifierConstructorDescriptionServerPlayer(MinecraftServer server, ServerLevel level, GameProfile gameProfile, ClientInformation clientInformation) -
Uses of GameProfile in net.minecraft.server.network
Fields in net.minecraft.server.network declared as GameProfileModifier and TypeFieldDescriptionprivate @Nullable GameProfileServerLoginPacketListenerImpl.authenticatedProfileprivate final GameProfileCommonListenerCookie.gameProfileThe field for thegameProfilerecord component.private final GameProfileServerConfigurationPacketListenerImpl.gameProfileprotected final GameProfileServerTextFilter.PlayerContext.profileMethods in net.minecraft.server.network that return GameProfileModifier and TypeMethodDescriptionCommonListenerCookie.gameProfile()Returns the value of thegameProfilerecord component.ServerCommonPacketListenerImpl.getOwner()protected abstract GameProfileServerCommonPacketListenerImpl.playerProfile()protected GameProfileServerConfigurationPacketListenerImpl.playerProfile()protected GameProfileServerGamePacketListenerImpl.playerProfile()Methods in net.minecraft.server.network with parameters of type GameProfileModifier and TypeMethodDescriptionLegacyTextFilter.createContext(GameProfile gameProfile) ServerTextFilter.createContext(GameProfile gameProfile) static CommonListenerCookieCommonListenerCookie.createInitial(GameProfile gameProfile, boolean transferred) com.google.gson.JsonObjectLegacyTextFilter.JoinOrLeaveEncoder.encode(GameProfile profile) com.google.gson.JsonObjectServerTextFilter.MessageEncoder.encode(GameProfile profile, String message) private voidServerLoginPacketListenerImpl.finishLoginAndWaitForClient(GameProfile gameProfile) private booleanServerLoginPacketListenerImpl.isPlayerAlreadyInWorld(GameProfile gameProfile) private voidLegacyTextFilter.processJoinOrLeave(GameProfile user, URL endpoint, LegacyTextFilter.JoinOrLeaveEncoder encoder, Executor executor) protected CompletableFuture<FilteredText> ServerTextFilter.requestMessageProcessing(GameProfile sender, String message, ServerTextFilter.IgnoreStrategy ignoreStrategy, Executor executor) private voidServerLoginPacketListenerImpl.startClientVerification(GameProfile profile) private voidServerLoginPacketListenerImpl.verifyLoginAndFinishConnectionSetup(GameProfile profile) Constructors in net.minecraft.server.network with parameters of type GameProfileModifierConstructorDescriptionCommonListenerCookie(GameProfile gameProfile, int latency, ClientInformation clientInformation, boolean transferred) Deprecated.UseCommonListenerCookie(GameProfile, int, ClientInformation, boolean, net.neoforged.neoforge.network.connection.ConnectionType)instead, to indicate whether the connection is modded.CommonListenerCookie(GameProfile gameProfile, int latency, ClientInformation clientInformation, boolean transferred, ConnectionType connectionType) Creates an instance of aCommonListenerCookierecord class.protectedPlayerContext(GameProfile profile) -
Uses of GameProfile in net.minecraft.server.players
Fields in net.minecraft.server.players with type parameters of type GameProfileModifier and TypeFieldDescriptionprivate final com.google.common.cache.LoadingCache<UUID, Optional<GameProfile>> ProfileResolver.Cached.profileCacheByIdprivate final com.google.common.cache.LoadingCache<String, Optional<GameProfile>> ProfileResolver.Cached.profileCacheByNameMethods in net.minecraft.server.players that return types with arguments of type GameProfileModifier and TypeMethodDescriptionProfileResolver.Cached.fetchByName(String name) ProfileResolver.fetchByName(String name) default Optional<GameProfile> ProfileResolver.fetchByNameOrId(Either<String, UUID> nameOrId) Methods in net.minecraft.server.players with parameters of type GameProfileModifier and TypeMethodDescriptionprivate PathPlayerList.locateStatsFile(GameProfile gameProfile) Constructors in net.minecraft.server.players with parameters of type GameProfile -
Uses of GameProfile in net.minecraft.util
Fields in net.minecraft.util with type parameters of type GameProfileModifier and TypeFieldDescriptionstatic final Codec<GameProfile> ExtraCodecs.AUTHLIB_GAME_PROFILEstatic final MapCodec<GameProfile> ExtraCodecs.STORED_GAME_PROFILEMethods in net.minecraft.util that return types with arguments of type GameProfileModifier and TypeMethodDescriptionprivate static MapCodec<GameProfile> ExtraCodecs.gameProfileCodec(Codec<UUID> uuidCodec) -
Uses of GameProfile in net.minecraft.world.entity.player
Fields in net.minecraft.world.entity.player declared as GameProfileMethods in net.minecraft.world.entity.player that return GameProfileConstructors in net.minecraft.world.entity.player with parameters of type GameProfile -
Uses of GameProfile in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component declared as GameProfileFields in net.minecraft.world.item.component with type parameters of type GameProfileModifier and TypeFieldDescriptionprivate final Either<GameProfile, ResolvableProfile.Partial> ResolvableProfile.Static.contentsMethods in net.minecraft.world.item.component that return GameProfileModifier and TypeMethodDescriptionprivate static GameProfileResolvableProfile.createPartialProfile(Optional<String> maybeName, Optional<UUID> maybeId, PropertyMap properties) private GameProfileResolvableProfile.Partial.createProfile()ResolvableProfile.partialProfile()Methods in net.minecraft.world.item.component that return types with arguments of type GameProfileModifier and TypeMethodDescriptionResolvableProfile.Dynamic.resolveProfile(ProfileResolver profileResolver) abstract CompletableFuture<GameProfile> ResolvableProfile.resolveProfile(ProfileResolver profileResolver) ResolvableProfile.Static.resolveProfile(ProfileResolver profileResolver) protected Either<GameProfile, ResolvableProfile.Partial> ResolvableProfile.Dynamic.unpack()protected Either<GameProfile, ResolvableProfile.Partial> ResolvableProfile.Static.unpack()protected abstract Either<GameProfile, ResolvableProfile.Partial> ResolvableProfile.unpack()Methods in net.minecraft.world.item.component with parameters of type GameProfileModifier and TypeMethodDescriptionstatic ResolvableProfileResolvableProfile.createResolved(GameProfile gameProfile) Method parameters in net.minecraft.world.item.component with type arguments of type GameProfileModifier and TypeMethodDescriptionprivate static ResolvableProfileResolvableProfile.create(Either<GameProfile, ResolvableProfile.Partial> value, PlayerSkin.Patch patch) Constructors in net.minecraft.world.item.component with parameters of type GameProfileModifierConstructorDescriptionprotectedResolvableProfile(GameProfile partialProfile, PlayerSkin.Patch skinPatch) Constructor parameters in net.minecraft.world.item.component with type arguments of type GameProfileModifierConstructorDescriptionprivateStatic(Either<GameProfile, ResolvableProfile.Partial> contents, PlayerSkin.Patch skinPatch) -
Uses of GameProfile in net.minecraft.world.scores
Methods in net.minecraft.world.scores with parameters of type GameProfileModifier and TypeMethodDescriptionstatic ScoreHolderScoreHolder.fromGameProfile(GameProfile profile) -
Uses of GameProfile in net.neoforged.neoforge.common.util
Fields in net.neoforged.neoforge.common.util declared as GameProfileModifier and TypeFieldDescriptionprivate static final GameProfileFakePlayerFactory.MINECRAFTprivate final GameProfileFakePlayerFactory.FakePlayerKey.usernameThe field for theusernamerecord component.Methods in net.neoforged.neoforge.common.util that return GameProfileModifier and TypeMethodDescriptionFakePlayerFactory.FakePlayerKey.username()Returns the value of theusernamerecord component.Methods in net.neoforged.neoforge.common.util with parameters of type GameProfileModifier and TypeMethodDescriptionstatic FakePlayerFakePlayerFactory.get(ServerLevel level, GameProfile username) Get a fake player with a given username, Mods should either hold weak references to the return value, or listen for a WorldEvent.Unload and kill all references to prevent worlds staying in memory, or call this function every time and let Forge take care of the cleanup.Constructors in net.neoforged.neoforge.common.util with parameters of type GameProfileModifierConstructorDescriptionFakePlayer(ServerLevel level, GameProfile name) privateFakePlayerKey(ServerLevel level, GameProfile username) Creates an instance of aFakePlayerKeyrecord class. -
Uses of GameProfile in net.neoforged.neoforge.event.entity.player
Fields in net.neoforged.neoforge.event.entity.player declared as GameProfileMethods in net.neoforged.neoforge.event.entity.player that return GameProfileConstructors in net.neoforged.neoforge.event.entity.player with parameters of type GameProfileModifierConstructorDescriptionPlayerNegotiationEvent(Connection connection, GameProfile profile, List<Future<Void>> futures)
CommonListenerCookie(LevelLoadTracker, GameProfile, WorldSessionTelemetryManager, RegistryAccess.Frozen, FeatureFlagSet, String, ServerData, Screen, Map, ChatComponent.State, Map, ServerLinks, Map, boolean, net.neoforged.neoforge.network.connection.ConnectionType)instead,to indicate whether the connection is modded.