Fake Entity - From Entity UUID (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

(fake|packet)[ ]entity (from|with) uuid %uuid%

Description

Retrieve a fake entity from it's entity uuid, this only works for spawned fake entities

Examples

command /find-my-clone:
    trigger:
        set {_entity} to a new fake zombie entity:
            location: location of player
            viewers: player
        set {_key} to fake entity uuid of {_entity}
        set {_found} to fake entity with uuid {_key}
        send "%{_found}%" to player
        wait 5 seconds
        kill fake entity {_entity}

View source