Fake Entity - Entity UUID (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[the] (fake|packet) entity [field] [entity] uuid of %packetentity%

Description

The UUID assigned when the fake entity was created. Read-only. Value type: UUID. Applies to entity and supported subclasses. Read-only.

Examples

command /preview-uuid:
    trigger:
        set {_entity} to a new fake zombie entity:
            location: location of player
            viewers: player
        set {_value} to fake entity entity uuid of {_entity}
        send "%{_value}%" to player
        wait 5 seconds
        kill fake entity {_entity}

View source