NBT - UUID for NBT (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 1.5.2
Syntax
uuid (int array[( as string)]|most[ bits]|least[ bits]) [(from|of) %-offlineplayer/entity%]Description
Allows you to get an entity's UUID which can be represented in an NBT compound. Prior to 1.16 UUIDs were represented as most/least significant bits. As of 1.16, they are now represented as int arrays. If the player/entity is excluded, this will return a random UUID.
Examples
set {_u::*} to uuid int array of player
set {_u} to uuid int array as string from player
set {_m} to uuid most from target entity
set {_l} to uuid least bits of event-entity