API Documentation for Servers

Important: Server API is primarily intended for developers of server plugins and custom integrations. There are no official plugins for this API.

Animations: anim_keyframes

Animation keyframes

The content.datapack.anim_keyframes field contains animations and their keyframes.

Each frame contains a list of commands that should be applied to the relevant model entities.

{
    "anim_keyframes": {
        "default": {
            "0": [
                "data merge entity @e[type=block_display,tag=bde_0,distance=..1,limit=1,sort=nearest] {transformation:[1f,0f,0f,0.5625f,0f,1f,0f,0f,0f,0f,1f,0.25f,0f,0f,0f,1f],interpolation_duration:0}"
            ]
        }
    }
}

The server plugin may execute these commands directly, transform them into its own data structures, or use any other logic for animation playback.

Sign up to create and share content. Sign up
Dashboard
Chats
Sign In
Browse