Fake Entity - Entity Viewers (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[the] (fake|packet) entity [field] [entity] viewers of %packetentity%Description
Changing this list adds/removes viewers of the fake entity. Value type: Player[]. Applies to entity and supported subclasses. Supports set.
Examples
command /private-preview:
trigger:
set {_entity} to a new fake zombie entity:
location: location of player
viewers: player
set fake entity entity viewers of {_entity} to player
wait 5 seconds
kill fake entity {_entity}