General - Entity Meta (Type) — PacketEventsSK

Addon: PacketEventsSK · Category: Type · Since: 1.1.0

Syntax

entitymeta

Description

The entity meta of a minecraft entity (this can both represent a fake entity's meta or a real entity's meta, but is mostly used for fake entities since the only use for real entities is for packet intercepting).

Examples

command spawn:
    trigger:
        set {_zombie} to a new fake zombie entity:
            viewers: all players
            location: location of player

        set {_meta} to fake entity meta of {_zombie}
        set meta glowing state of {_meta} to true

View source