Packet Entity - Pose (Expression) — skPackets

Addon: skPackets · Category: Expression · Since: 1.0.0

Syntax

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

Description

The pose name, such as standing, crouching or swimming. Supports set, delete and reset. The sneaking flag is separate from the pose.

Examples

command /crouching-packet-player:
    trigger:
        set {_mob} to a new packet entity:
            entity: player
            username: "Demo"
            skin: skin of player
            location: location of player
            viewers: player
        set meta field sneaking of packet entity {_mob} to true
        set meta field pose of packet entity {_mob} to "crouching"
        wait 5 seconds
        kill packet entity {_mob}

View source