Packet Entity - Display Background Color (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[meta field] display background color of [(fake|packet) entit(y|ies)] %packetentities%

Description

The text-display background color, including alpha. Supports set, delete and reset; unsupported entity types are rejected.

Examples

command /hologram-background-color:
    trigger:
        set {_mob} to a new packet entity:
            entity: text display
            location: location of player
            viewers: player
            meta field:
                display text: "Hello!"
        set meta field display background color of packet entity {_mob} to -65536
        wait 5 seconds
        kill packet entity {_mob}

View source