Перейти к содержимому
Mineforgian

PlayerAnimator (Unofficial 1.21.10 Port)

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

Загрузки
3K
Подписчики
3
Обновлён
24 ноября 2025 г.
Лицензия
MIT

Опубликован 24 ноября 2025 г.

⚠️ UNOFFICIAL PORT

This is an unofficial community port for Minecraft 1.21.10

  • Original Author: KosmX
  • Original Project: GitHub | Modrinth
  • License: MIT License (Copyright © 2022 KosmX)

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

  • Complete animation system for player model
  • Position, rotation, scale, and bend transformations
  • Animation layers with priority system
  • JSON animation support (GeckoLib & Emotecraft formats)
  • First-person animation mode
  • Item in hand animations
  • Proper elytra positioning during animations

⚠️ Limitations

  • No bendy-lib - Smooth body bending not available (no 1.21.10 version)
    • Animations look less smooth
    • Body parts don't bend in the middle
  • Armor visibility - First-person armor visibility may not work correctly

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:

  • head / body (whole player) / torso (chest)
  • rightArm / leftArm / rightLeg / leftLeg

Place animations in: assets/modid/player_animation/

Links

Credits

  • KosmX - Original PlayerAnimator creator
  • Fabric team for excellent modding tools
  • All contributors to the original project

Ченджлог

2.0.1+1.21.10-unofficialБета1.21.10 · 24 ноября 2025 г.

PlayerAnimator 2.0.1 - Minecraft 1.21.10 (Unofficial Port)

⚠️ Important

This is an UNOFFICIAL community port. Original author: KosmX

✅ Port Changes

Implemented

  • ✅ Ported to Entity → RenderState architecture (Minecraft 1.21.2+)
  • ✅ Updated PlayerModel.setupAnim() to new signature
  • ✅ Ported all render() methods to submit() methods
  • ✅ Fixed elytra positioning (stay on back during animations)
  • ✅ Ported HeldItemMixin (renderArmWithItem removed → submit)
  • ✅ Created IRenderStateWithAnimation interface for data flow
  • ✅ Updated all RenderLayer mixins

Disabled (Temporarily)

  • ❌ bendy-lib support (no 1.21.10 version available)
  • ❌ ArmorFeatureRendererMixin (setPartVisibility method removed)

🎮 Features

  • Full player animation system
  • Body part transformations (position, rotation, scale)
  • Animation layers with priorities
  • JSON animation loading (GeckoLib & Emotecraft)
  • First-person mode
  • Item animations
  • Elytra animations

⚠️ Known Issues

  • Animations less smooth without bendy-lib
  • Body parts don't bend in middle
  • Armor visibility in first-person may not work

📋 Requirements

  • Minecraft 1.21.10
  • Fabric Loader 0.16.0+
  • Fabric API 0.138.3+

🔗 Links

⚖️ License

MIT License - Copyright (c) 2022 KosmX

Комментарии

Загружаем…