Packet Entity - Display Translation (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

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

Description

The display transformation translation vector. Supports set, delete and reset; unsupported entity types are rejected.

Examples

command /floating-sign:
    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 translation of packet entity {_mob} to vector(0, 1, 0)
        wait 5 seconds
        kill packet entity {_mob}

View source