Readonly
idUnique identifier of the player. This identifier is intended to be consistent across loads of a world instance. No meaning should be inferred from the value and structure of this unique identifier - do not parse or interpret it.
Readonly
nameName of the player.
Readonly
typeUnique identifier of the type of the entity - for example, 'minecraft:player'.
Command to run. Note that command strings should not start with slash.
For commands that return data, returns a JSON structure with command response values.
Represents a player within the world.