HomeJavaModsPlayerAnimator (Unofficial 1.21.10 Port)
ModsJava

PlayerAnimator (Unofficial 1.21.10 Port)

by antostcr · on Modrinth

Unofficial community port of PlayerAnimator library for Minecraft 1.21.10 - Animate players while maintaining mod compatibility

⬇ Download on Modrinth

⚠️ UNOFFICIAL PORT

This is an unofficial community port for Minecraft 1.21.10

The original author is no longer maintaining PlayerAnimator and recommends using PAL instead.


What is PlayerAnimator?

PlayerAnimator is a Minecraft library to animate the player while trying to break as few mods as possible.

This port adapts the library to work with Minecraft 1.21.10 (Fabric).

Features

✅ Working

⚠️ Limitations

For Players

Just install this mod as a library - it does nothing on its own. Other mods that use PlayerAnimator will enable their animations when this is installed.

For Developers

The API is fully compatible with original PlayerAnimator:

// Get player's animation stack
AnimationStack stack = PlayerAnimationAccess.getPlayerAnimLayer(player);

// Add animation layer
stack.addAnimLayer(new ModifierLayer<>(animation));

// Load animation from JSON
AnimationContainer animation = PlayerAnimationRegistry.getAnimation(
    new Identifier("modid", "animation_name")
);

Gradle Setup

 repositories {
      maven { url 'https://jitpack.io' }
  }

  dependencies {
      modImplementation "com.github.TOSTcRa:playerAnimator-1.21.10:v2.0.1-1.21.10-unofficial"
      include "com.github.TOSTcRa:playerAnimator-1.21.10:v2.0.1-1.21.10-unofficial"
  }

Model Structure

Animations use these body parts:

Place animations in: assets/modid/player_animation/

Links

Credits


Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more