Packet Entity - Display Right Rotation (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

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

Description

The quaternion applied after the display scale. Supports set, delete and reset; unsupported entity types are rejected.

Examples

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

View source