/fetchprofile

This feature is exclusive to Java Edition.
 
/fetchprofile
Permission level
required

2

Restrictions

None

Fetches the contents of a player profile from Minecraft servers.

Usage

Fetches the profile of the target. It works asynchronously as the operation might take some time.

After successful completion, a message will be printed that lets users copy the contents of a fully resolved minecraft:profile component or /give @s minecraft:player_head with said component.

Syntax

fetchprofile name <name>
fetchprofile id <id>

Arguments

<name>: string

Specifies a player name (Without need for an online player), case-insensitive.
Must be a string.

<id>: uuid

Specifies UUID of a player (Without need for an online player).
Must be a UUID in the hyphenated hexadecimal format. Allowed characters include: -, A-F, a-f, and 0-9.

Result

CommandTriggerJava Edition
AnyThe command is incomplete, or any argument is not specified correctly. Unparseable
Failed to resolve the player profile. Failed
OtherwiseSuccessful

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
AnyJava EditionOn success or on fail111

History

Java Edition
1.21.925w34aAdded /fetchprofile.
Pre-Release 1Now also prints a clickable text to summon a mannequin with the resolved profile.

Navigation