Fake Entity - Visible Fake Entities (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[the] [visible] (fake|packet)[ ]entities of %player%

Description

Used to get all fake entities viewed by a player

Examples

command /private-preview:
    trigger:
        set {_e} to a new fake zombie entity:
            location: location of player
            viewers: players

        if visible fake entities of player contains {_e}:
            send "You can see the fake entity!"

View source