Skip to content

Swing Hand

Swings a specified hand of an entity.

Type ID: kaya:swing_hand

Format

Field Type Default Description
hand Hand optional If specified, this hand of the entity will be swung. Otherwise, the hand being used by the entity will be swung.
entity Entity Provider The entity to swing the hand of.

Example

{
    "type": "kaya:swing_hand",
    "hand": "mainhand",
    "entity": "this"
}

This example will swing the main hand of the entity provided by the kaya:this_entity context parameter.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.