Packet Entity - Frozen Time (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

[meta field] frozen (ticks|time) of [(fake|packet) entit(y|ies)] %packetentities%

Description

The duration the entity has been frozen in powdered snow. Supports set, delete and reset; unsupported entity types are rejected.

Examples

command /preview-frozen-time:
    trigger:
        set {_mob} to a new packet entity:
            entity: zombie
            location: location of player
            viewers: player
        set meta field frozen time of packet entity {_mob} to 40
        wait 5 seconds
        kill packet entity {_mob}

View source