Entity Meta - Display Background Color (Expression) — skPackets
Addon: skPackets · Category: Expression · Since: 1.0.0
Syntax
[the] [(fake|packet)] [entity] meta [field] display background color of %entitymeta%Description
The text-display background color, including alpha. Value type: ch.njol.skript.util.Color. Applies to text display and supported subclasses. Supports set. When editing metadata copied from a packet, set packet meta back to the edited object.
Examples
command /hologram-background-color:
trigger:
set {_displayMeta} to text display meta data:
display content: "Hello!"
set {_mob} to a new fake text display entity:
location: location of player
viewers: player
meta: {_displayMeta}
set {_meta} to fake entity meta data of {_mob}
set meta display background color of {_meta} to red
wait 5 seconds
kill fake entity {_mob}