Fake Entity - Create Fake Entity (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[a] [new] (fake|packet) %*entity type% entity [with persistent]Description
Creates a fake entity; fake and packet are aliases. The typed form requires location and viewers, and optionally accepts meta, entity id and entity uuid. Add 'with persistent' to keep the entity across viewer reconnects and world changes. Player entities also accept username and skin. Use the typed form (new fake zombie entity), or new fake entity with an entity entry. The latter also accepts a meta field section.
Examples
command /my-double:
trigger:
set {_entity} to a new fake player entity:
location: location of player
viewers: player
username: "Demo"
skin: skin of player
wait 5 seconds
kill fake entity {_entity}