Fake Entity - Visible Fake Entities (Expression) — PacketEventsSK

Addon: PacketEventsSK · Category: Expression · Since: 1.0.1

Syntax

[the] [visible] fake[ ]entities of %player%

Description

Used to get all fake entities viewed by a player

Examples

command test1:
    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