Skip to content

Player Animation Library More Rotation

By kltytonOwner

A library that extends Player Animation Library and bendable-cuboids with improved player animation rotation, bend deformation, and playback sync support.

22k downloads Updated

Last update on each platform

26.3 26.2

No ratings yet

Be the first to rate it.

Rate it

Community listing page

Community listing page, reviews may not be monitored by the author.

About

Description

PlayerAnimationLibraryMoreRotation

English

PlayerAnimationLibraryMoreRotation is an addon and runtime library for player animation creators and mod developers. Built on Player Animation Library (playerAnimator + bendy-lib on 1.20.1) and Bendable Cuboids, it unlocks full 3-axis limb/torso bending, smooth fade & mirror playback sync, and a clean cross-library pose & socket API across Minecraft 1.20.1, 1.21.1, 26.1.2, 26.2, and 26.3 (Fabric, NeoForge, and Forge).

Latest release: 1.3.0

Key Features

  • Full 3-Axis Bend Deformation: Supports bend.rotation (X/Y/Z), bend-local bend.position, bend.scale, and custom bend.pivot on real player bones (torso, right_arm, left_arm, right_leg, left_leg).
  • Continuous Mesh, Normals & Winding: Deformed bend segments keep smooth joints, recomputed vertex normals, and proper backface winding even under negative scale or mirroring.
  • Dynamic Molang & Smooth Transitions: Evaluates Molang expressions in bend tracks (PAL Molang 6.2 on 1.21.1/26.x, built-in PalMoreMolang on 1.20.1) with smooth 3-axis transition blending and channel-mask isolation.
  • Equipment & Layer Parity: Fixes left_item / right_item held-item Y/Z rotations, keeps skin outer layers and armor synchronized, and passes torso bend to capes and elytra. Includes default EMF player/armor models on 1.21.1.
  • Built-in Fade & Mirror Playback Sync (1.3.0): Play or stop animations from the server with smooth fade-in, fade-out, interruption quaternion SLERP blending, left/right hand mirroring, and synced first-person display flags via PalMorePlayOptions.
  • Keyframe Controller API: Route PAL timeline, sound_effects, and particle_effects keyframes to named controller-local handlers (PalMoreAnimationController).
  • Cross-Library Pose, Socket & Armor API (1.3.0): Dedicated-server-safe, zero-hard-dependency APIs (PlayerPoseAccess, PlayerPoseSnapshot, PlayerBoneSocketRegistry, PalMoreArmorCompat, PalMoreCapabilities, PalMoreDiagnostics) for VFX, UI, combat, and custom armor mods.
  • Backwards Compatible: Existing PAL / playerAnimator animations and legacy scalar bend: 35 work without changes.

Supported Versions & Dependencies

Minecraft Loaders Required External Mods Bundled
1.20.1 Fabric / Forge playerAnimator, bendy-lib (+ Fabric API on Fabric) —
1.21.1 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.0.0+alpha.1 + default EMF models
26.1.2 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.0.2
26.2 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.0.4
26.3 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.1.0

Bend JSON Examples

Legacy scalar and 3-axis vector formats:

"bend": 35
"bend": [35, 10, -15]

Full bend channels (pivot, rotation, position, scale):

"left_arm": {
  "bend": {
    "pivot": [0, -4, 0],
    "rotation": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [35, 20, -15] },
      "1.0": { "post": [0, 0, 0] }
    },
    "position": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [2, 1, 0] },
      "1.0": { "post": [0, 0, 0] }
    },
    "scale": {
      "0.0": { "post": [1, 1, 1] },
      "0.5": { "post": [1.25, 0.8, 1] },
      "1.0": { "post": [1, 1, 1] }
    }
  }
}

Developer API Quick Start

Server-side synced playback with fade transitions, mirroring, and first-person flags:

// Basic playback
PalMoreAnimations.play(serverPlayer, animationId);
PalMoreAnimations.stop(serverPlayer);

// Smooth fade-in (2 ticks), fade-out (4 ticks), mirrored
PalMoreAnimations.play(serverPlayer, animationId, 2.0F, 4.0F, true);
PalMoreAnimations.stop(serverPlayer, 4.0F);

// Full options builder
PalMorePlayOptions options = PalMorePlayOptions.builder()
        .fadeInTicks(2.0F)
        .fadeOutTicks(4.0F)
        .mirrored(true)
        .firstPersonOptions(PalMoreFirstPersonOptions.SHOW_ARMS_AND_ITEMS)
        .quaternionBlend(true)
        .build();
PalMoreAnimations.play(serverPlayer, animationId, controllerId, options);

Query player bone poses, bend segments, or register 6DoF sockets from downstream mods:

// Query cached world-space pose snapshot (dedicated-server safe API)
PlayerPoseAccess.getSnapshot(player).ifPresent(snapshot -> {
    snapshot.boneWorldPosition("right_arm");
    snapshot.bendSegmentPose("right_arm");
});

// Register a custom 6DoF socket on a bend segment
PlayerBoneSocketRegistry.register(
        PlayerBoneSocket.of("example:blade_tip", "right_arm_bend", 0f, -6f, 0f)
);

Blockbench Authoring

Use the PAL Bend Player Tools Blockbench plugin:

  1. Create a PAL Bend Player Animation project (or import existing PAL / emote / DragonCore player animations).
  2. Animate the player and *_bend helper bones in Blockbench.
  3. Export with PAL: Export Player Animation and place the JSON under assets/<namespace>/player_animations/.

Full documentation & GitHub Wiki: GitHub Repository | GitHub Wiki


中文

PlayerAnimationLibraryMoreRotation 是一个面向玩家动画作者与模组开发者的运行时扩展库。它基于 Player Animation Library(1.20.1 为 playerAnimator + bendy-lib)与 Bendable Cuboids,在 Minecraft 1.20.1、1.21.1、26.1.2、26.2 与 26.3(Fabric / NeoForge / Forge)上提供完整三轴弯曲变形、内置淡入淡出与镜像同步播放,以及专服安全的跨库姿态与骨骼挂点 API。

当前版本:1.3.0

主要功能

  • 完整三轴 Bend 变形:在真实玩家骨骼(torso、right_arm、left_arm、right_leg、left_leg)上支持 bend.rotation(X/Y/Z)、bend.position、bend.scale 与自定义支点 bend.pivot。
  • 连续弯曲网格与法线/绕序修正:弯曲关节无缝衔接,变形后自动重算顶点法线,并在负缩放或左右镜像下保持正确面绕序与光照表现。
  • 动态 Molang 与平滑过渡:弯曲轨道支持 Molang 动态表达式(1.21.1/26.x 使用 PAL Molang 6.2,1.20.1 内置 PalMoreMolang),并提供三轴平滑过渡与通道掩码隔离。
  • 装备与附加层同步:补齐 left_item / right_item 手持物品 Y/Z 轴旋转,同步皮肤外层与盔甲姿态,并让披风与鞘翅自然继承躯干弯曲;1.21.1 内置默认 EMF 玩家与盔甲模型。
  • 内置淡入淡出与镜像同步播放(1.3.0):通过 PalMorePlayOptions 在服务端一键触发平滑淡入、淡出、打断四元数 SLERP 过渡、左右手镜像及第一人称显示配置同步。
  • 命名关键帧控制器 API:通过 PalMoreAnimationController 将 PAL 解析的 timeline、sound_effects 与 particle_effects 路由至对应控制器回调。
  • 跨库姿态、骨骼挂点与盔甲兼容 API(1.3.0):提供专服安全、零硬依赖的 PlayerPoseAccess、PlayerPoseSnapshot、PlayerBoneSocketRegistry、PalMoreArmorCompat、PalMoreCapabilities 与 PalMoreDiagnostics,方便特效、UI、战斗与自定义盔甲模组接入。
  • 完整向后兼容:原有 PAL / playerAnimator 动画及旧版标量 bend: 35 无需修改即可直接运行。

支持版本与依赖

Minecraft 加载器 必需外部前置 内置模块
1.20.1 Fabric / Forge playerAnimator、bendy-lib(Fabric 另需 Fabric API) —
1.21.1 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.0.0+alpha.1 + 默认 EMF 模型
26.1.2 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.0.2
26.2 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.0.4
26.3 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.1.0

Bend JSON 示例

旧版标量与三轴数组格式:

"bend": 35
"bend": [35, 10, -15]

完整通道(pivot、rotation、position、scale):

"left_arm": {
  "bend": {
    "pivot": [0, -4, 0],
    "rotation": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [35, 20, -15] },
      "1.0": { "post": [0, 0, 0] }
    },
    "position": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [2, 1, 0] },
      "1.0": { "post": [0, 0, 0] }
    },
    "scale": {
      "0.0": { "post": [1, 1, 1] },
      "0.5": { "post": [1.25, 0.8, 1] },
      "1.0": { "post": [1, 1, 1] }
    }
  }
}

开发者 API 快速上手

服务端同步播放(支持淡入淡出、镜像与第一人称选项):

// 基础播放与停止
PalMoreAnimations.play(serverPlayer, animationId);
PalMoreAnimations.stop(serverPlayer);

// 平滑淡入(2 ticks)、淡出(4 ticks)与左右手镜像
PalMoreAnimations.play(serverPlayer, animationId, 2.0F, 4.0F, true);
PalMoreAnimations.stop(serverPlayer, 4.0F);

// 完整选项构建器
PalMorePlayOptions options = PalMorePlayOptions.builder()
        .fadeInTicks(2.0F)
        .fadeOutTicks(4.0F)
        .mirrored(true)
        .firstPersonOptions(PalMoreFirstPersonOptions.SHOW_ARMS_AND_ITEMS)
        .quaternionBlend(true)
        .build();
PalMoreAnimations.play(serverPlayer, animationId, controllerId, options);

读取玩家姿态快照与注册弯曲骨骼挂点:

// 读取缓存的玩家世界空间姿态快照(专服安全 API)
PlayerPoseAccess.getSnapshot(player).ifPresent(snapshot -> {
    snapshot.boneWorldPosition("right_arm");
    snapshot.bendSegmentPose("right_arm");
});

// 在弯曲分段上注册自定义 6DoF 挂点
PlayerBoneSocketRegistry.register(
        PlayerBoneSocket.of("example:blade_tip", "right_arm_bend", 0f, -6f, 0f)
);

Blockbench 制作流程

推荐使用 PAL Bend Player Tools Blockbench 插件:

  1. 新建 PAL Bend Player Animation 项目(或导入已有 PAL / emote / 龙核玩家模型动画)。
  2. 在 Blockbench 中制作玩家骨骼及 *_bend 辅助骨骼动画。
  3. 使用 PAL:导出玩家动画 导出,并将 JSON 放入资源包或模组的 assets/<namespace>/player_animations/ 目录。

完整文档与 GitHub Wiki:GitHub 仓库 | GitHub Wiki

PlayerAnimationLibraryMoreRotation

English

PlayerAnimationLibraryMoreRotation is an addon and runtime library for player animation creators and mod developers. Built on Player Animation Library (playerAnimator + bendy-lib on 1.20.1) and Bendable Cuboids, it unlocks full 3-axis limb/torso bending, smooth fade & mirror playback sync, and a clean cross-library pose & socket API across Minecraft 1.20.1, 1.21.1, 26.1.2, 26.2, and 26.3 (Fabric, NeoForge, and Forge).

Latest release: 1.3.0

Key Features

  • Full 3-Axis Bend Deformation: Supports bend.rotation (X/Y/Z), bend-local bend.position, bend.scale, and custom bend.pivot on real player bones (torso, right_arm, left_arm, right_leg, left_leg).
  • Continuous Mesh, Normals & Winding: Deformed bend segments keep smooth joints, recomputed vertex normals, and proper backface winding even under negative scale or mirroring.
  • Dynamic Molang & Smooth Transitions: Evaluates Molang expressions in bend tracks (PAL Molang 6.2 on 1.21.1/26.x, built-in PalMoreMolang on 1.20.1) with smooth 3-axis transition blending and channel-mask isolation.
  • Equipment & Layer Parity: Fixes left_item / right_item held-item Y/Z rotations, keeps skin outer layers and armor synchronized, and passes torso bend to capes and elytra. Includes default EMF player/armor models on 1.21.1.
  • Built-in Fade & Mirror Playback Sync (1.3.0): Play or stop animations from the server with smooth fade-in, fade-out, interruption quaternion SLERP blending, left/right hand mirroring, and synced first-person display flags via PalMorePlayOptions.
  • Keyframe Controller API: Route PAL timeline, sound_effects, and particle_effects keyframes to named controller-local handlers (PalMoreAnimationController).
  • Cross-Library Pose, Socket & Armor API (1.3.0): Dedicated-server-safe, zero-hard-dependency APIs (PlayerPoseAccess, PlayerPoseSnapshot, PlayerBoneSocketRegistry, PalMoreArmorCompat, PalMoreCapabilities, PalMoreDiagnostics) for VFX, UI, combat, and custom armor mods.
  • Backwards Compatible: Existing PAL / playerAnimator animations and legacy scalar bend: 35 work without changes.

Supported Versions & Dependencies

Minecraft Loaders Required External Mods Bundled
1.20.1 Fabric / Forge playerAnimator, bendy-lib (+ Fabric API on Fabric) —
1.21.1 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.0.0+alpha.1 + default EMF models
26.1.2 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.0.2
26.2 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.0.4
26.3 Fabric / NeoForge Player Animation Library (+ Fabric API on Fabric) Bendable Cuboids 2.1.0

Bend JSON Examples

Legacy scalar and 3-axis vector formats:

"bend": 35
"bend": [35, 10, -15]

Full bend channels (pivot, rotation, position, scale):

"left_arm": {
  "bend": {
    "pivot": [0, -4, 0],
    "rotation": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [35, 20, -15] },
      "1.0": { "post": [0, 0, 0] }
    },
    "position": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [2, 1, 0] },
      "1.0": { "post": [0, 0, 0] }
    },
    "scale": {
      "0.0": { "post": [1, 1, 1] },
      "0.5": { "post": [1.25, 0.8, 1] },
      "1.0": { "post": [1, 1, 1] }
    }
  }
}

Developer API Quick Start

Server-side synced playback with fade transitions, mirroring, and first-person flags:

// Basic playback
PalMoreAnimations.play(serverPlayer, animationId);
PalMoreAnimations.stop(serverPlayer);

// Smooth fade-in (2 ticks), fade-out (4 ticks), mirrored
PalMoreAnimations.play(serverPlayer, animationId, 2.0F, 4.0F, true);
PalMoreAnimations.stop(serverPlayer, 4.0F);

// Full options builder
PalMorePlayOptions options = PalMorePlayOptions.builder()
        .fadeInTicks(2.0F)
        .fadeOutTicks(4.0F)
        .mirrored(true)
        .firstPersonOptions(PalMoreFirstPersonOptions.SHOW_ARMS_AND_ITEMS)
        .quaternionBlend(true)
        .build();
PalMoreAnimations.play(serverPlayer, animationId, controllerId, options);

Query player bone poses, bend segments, or register 6DoF sockets from downstream mods:

// Query cached world-space pose snapshot (dedicated-server safe API)
PlayerPoseAccess.getSnapshot(player).ifPresent(snapshot -> {
    snapshot.boneWorldPosition("right_arm");
    snapshot.bendSegmentPose("right_arm");
});

// Register a custom 6DoF socket on a bend segment
PlayerBoneSocketRegistry.register(
        PlayerBoneSocket.of("example:blade_tip", "right_arm_bend", 0f, -6f, 0f)
);

Blockbench Authoring

Use the PAL Bend Player Tools Blockbench plugin:

  1. Create a PAL Bend Player Animation project (or import existing PAL / emote / DragonCore player animations).
  2. Animate the player and *_bend helper bones in Blockbench.
  3. Export with PAL: Export Player Animation and place the JSON under assets/<namespace>/player_animations/.

Full documentation & GitHub Wiki: GitHub Repository


中文

PlayerAnimationLibraryMoreRotation 是一个面向玩家动画作者与模组开发者的运行时扩展库。它基于 Player Animation Library(1.20.1 为 playerAnimator + bendy-lib)与 Bendable Cuboids,在 Minecraft 1.20.1、1.21.1、26.1.2、26.2 与 26.3(Fabric / NeoForge / Forge)上提供完整三轴弯曲变形、内置淡入淡出与镜像同步播放,以及专服安全的跨库姿态与骨骼挂点 API。

当前版本:1.3.0

主要功能

  • 完整三轴 Bend 变形:在真实玩家骨骼(torso、right_arm、left_arm、right_leg、left_leg)上支持 bend.rotation(X/Y/Z)、bend.position、bend.scale 与自定义支点 bend.pivot。
  • 连续弯曲网格与法线/绕序修正:弯曲关节无缝衔接,变形后自动重算顶点法线,并在负缩放或左右镜像下保持正确面绕序与光照表现。
  • 动态 Molang 与平滑过渡:弯曲轨道支持 Molang 动态表达式(1.21.1/26.x 使用 PAL Molang 6.2,1.20.1 内置 PalMoreMolang),并提供三轴平滑过渡与通道掩码隔离。
  • 装备与附加层同步:补齐 left_item / right_item 手持物品 Y/Z 轴旋转,同步皮肤外层与盔甲姿态,并让披风与鞘翅自然继承躯干弯曲;1.21.1 内置默认 EMF 玩家与盔甲模型。
  • 内置淡入淡出与镜像同步播放(1.3.0):通过 PalMorePlayOptions 在服务端一键触发平滑淡入、淡出、打断四元数 SLERP 过渡、左右手镜像及第一人称显示配置同步。
  • 命名关键帧控制器 API:通过 PalMoreAnimationController 将 PAL 解析的 timeline、sound_effects 与 particle_effects 路由至对应控制器回调。
  • 跨库姿态、骨骼挂点与盔甲兼容 API(1.3.0):提供专服安全、零硬依赖的 PlayerPoseAccess、PlayerPoseSnapshot、PlayerBoneSocketRegistry、PalMoreArmorCompat、PalMoreCapabilities 与 PalMoreDiagnostics,方便特效、UI、战斗与自定义盔甲模组接入。
  • 完整向后兼容:原有 PAL / playerAnimator 动画及旧版标量 bend: 35 无需修改即可直接运行。

支持版本与依赖

Minecraft 加载器 必需外部前置 内置模块
1.20.1 Fabric / Forge playerAnimator、bendy-lib(Fabric 另需 Fabric API) —
1.21.1 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.0.0+alpha.1 + 默认 EMF 模型
26.1.2 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.0.2
26.2 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.0.4
26.3 Fabric / NeoForge Player Animation Library(Fabric 另需 Fabric API) Bendable Cuboids 2.1.0

Bend JSON 示例

旧版标量与三轴数组格式:

"bend": 35
"bend": [35, 10, -15]

完整通道(pivot、rotation、position、scale):

"left_arm": {
  "bend": {
    "pivot": [0, -4, 0],
    "rotation": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [35, 20, -15] },
      "1.0": { "post": [0, 0, 0] }
    },
    "position": {
      "0.0": { "post": [0, 0, 0] },
      "0.5": { "post": [2, 1, 0] },
      "1.0": { "post": [0, 0, 0] }
    },
    "scale": {
      "0.0": { "post": [1, 1, 1] },
      "0.5": { "post": [1.25, 0.8, 1] },
      "1.0": { "post": [1, 1, 1] }
    }
  }
}

开发者 API 快速上手

服务端同步播放(支持淡入淡出、镜像与第一人称选项):

// 基础播放与停止
PalMoreAnimations.play(serverPlayer, animationId);
PalMoreAnimations.stop(serverPlayer);

// 平滑淡入(2 ticks)、淡出(4 ticks)与左右手镜像
PalMoreAnimations.play(serverPlayer, animationId, 2.0F, 4.0F, true);
PalMoreAnimations.stop(serverPlayer, 4.0F);

// 完整选项构建器
PalMorePlayOptions options = PalMorePlayOptions.builder()
        .fadeInTicks(2.0F)
        .fadeOutTicks(4.0F)
        .mirrored(true)
        .firstPersonOptions(PalMoreFirstPersonOptions.SHOW_ARMS_AND_ITEMS)
        .quaternionBlend(true)
        .build();
PalMoreAnimations.play(serverPlayer, animationId, controllerId, options);

读取玩家姿态快照与注册弯曲骨骼挂点:

// 读取缓存的玩家世界空间姿态快照(专服安全 API)
PlayerPoseAccess.getSnapshot(player).ifPresent(snapshot -> {
    snapshot.boneWorldPosition("right_arm");
    snapshot.bendSegmentPose("right_arm");
});

// 在弯曲分段上注册自定义 6DoF 挂点
PlayerBoneSocketRegistry.register(
        PlayerBoneSocket.of("example:blade_tip", "right_arm_bend", 0f, -6f, 0f)
);

Blockbench 制作流程

推荐使用 PAL Bend Player Tools Blockbench 插件:

  1. 新建 PAL Bend Player Animation 项目(或导入已有 PAL / emote / 龙核玩家模型动画)。
  2. 在 Blockbench 中制作玩家骨骼及 *_bend 辅助骨骼动画。
  3. 使用 PAL:导出玩家动画 导出,并将 JSON 放入资源包或模组的 assets/<namespace>/player_animations/ 目录。

完整文档与 GitHub Wiki:GitHub 仓库