Entity Meta - Display Teleport Interpolation Duration (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[the] [(fake|packet)] [entity] meta [field] display teleport interpolation duration of %entitymeta%

Description

The display teleport interpolation duration property. Value type: Timespan. Applies to display and supported subclasses. Supports set. When editing metadata copied from a packet, set packet meta back to the edited object.

Examples

command /hologram-teleport-interpolation-duration:
    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 teleport interpolation duration of {_meta} to 5 ticks
        wait 5 seconds
        kill fake entity {_mob}

View source