Fake Entity - From Entity UUID (Expression) — PacketEventsSK
Addon: PacketEventsSK · Category: Expression · Since: 1.0.0, 1.1.0 (pattern altered)
Syntax
fake[ ]entity (from|with) uuid %uuid%Description
Retrieve a fake entity from it's entity uuid, this only works for spawned fake entities
Examples
command spawnfakeplayer:
trigger:
set {_p} to player
set {_player} to a new fake player entity:
location: location of player
viewers: all players
username: "test"
skin: skin of player
add the fake entity uuid of {_player} to {-uuid::*}
command lookup <text>:
trigger:
loop {-uuid::*}:
if {-uuid::*} contains arg-1 parsed as uuid:
send "Found %fake entity with uuid loop-value%"