Entity paper/entity_uuid

Entity UUID

Gets the UUID string and type name of any entity.

Note: Entity UUIDs persist as long as the entity exists (they reset on respawn for non-persistent entities). Works for all entity types including players.

Inputs

NameTypeOptionalDescription
entity entity The entity.

Outputs

NameTypeDescription
uuid string UUID string of the entity.
entityType string Entity type name (e.g. ZOMBIE, CREEPER).