Entity Meta - Display Block Data (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[the] [(fake|packet)] [entity] meta [field] display block (state|data) of %entitymeta%Description
The display block data property. Value type: BlockData. Applies to block display and supported subclasses. Supports set. When editing metadata copied from a packet, set packet meta back to the edited object.
Examples
command /floating-stone:
trigger:
set {_mob} to a new fake block display entity:
location: location of player
viewers: player
set {_meta} to fake entity meta data of {_mob}
set meta display block data of {_meta} to stone[]
wait 5 seconds
kill fake entity {_mob}