Json Entity Animation

⭐ — (3 endorsements) 📥 1,297 downloads 📌 v0.2.1+1.19.4 📅 4/1/2023
⚪ Last updated 2023

By TakiSpl · fabric

⬇ Download Mod Source: Modrinth ↗ 📅 Updated: 6/10/2023 📅 Created: 4/1/2023
⚠️ Install Order · 2 steps
1🛠️ Forge — Minecraft Forge (mod loader) Download ↗
2🛠️ Fabric — Fabric Loader Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 0.2% endorsement rate
  • 🏆 #708 of 892 fabric mods in this game by downloads

📋 About This Mod

# Json Entity Animation Json Entity Animation (JsonEA) for short is a library mod for other mods to be able to define animations through JSON instead of through code. (animation_to_jsonea.js) (also available in the Blockbench plugins browser) is also provided in order to export your animations to this format. ## For developers Add the mod as a dependency using the (https://docs.modrinth.com/docs/tutorials/maven). ```gradle dependencies { include(modImplementation("maven.modrinth:json-entity-animation:0.2.1+1.19.4")) } ``` Once added, put your animation JSONs in the `assets/modid/jsonea` directory. To load the animations, your entity model must subclass `SinglePartEntityModel`/`HierarchicalModel`. Then define a `JsonAnimator` field and animation IDs. ```java public class MyEntityModel extends SinglePartEntityModel<MyEntity> { private static final Identifier PUNCH_ANIMATION = new Identifier("modid", "my_entity/punch"); private final JsonAnimator animator = new JsonAnimator(this); // ... @Override public void setAngles(MyEntity entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch) { getPart().traverse().forEach(ModelPart::resetTransform); animator.animate(entity.punchState, PUNCH_ANIMATION, animationProgress); } } ```

# Json Entity Animation

Json Entity Animation (JsonEA) for short is a library mod for other mods to be able to define animations through JSON instead of through code. (animation_to_jsonea.js) (also available in the Blockbench plugins browser) is also provided in order to export your animations to this format.

## For developers

Add the mod as a dependency using the (https://docs.modrinth.com/docs/tutorials/maven).

```gradle dependencies { include(modImplementation("maven.modrinth:json-entity-animation:0. 2. 1+1. 19. 4")) } ```

Once added, put your animation JSONs in the `assets/modid/jsonea` directory. To load the animations, your entity model must subclass `SinglePartEntityModel`/`HierarchicalModel`. Then define a `JsonAnimator` field and animation IDs.

```java public class MyEntityModel extends SinglePartEntityModel { private static final Identifier PUNCH_ANIMATION = new Identifier("modid", "my_entity/punch"); private final JsonAnimator animator = new JsonAnimator(this); // ... @Override public void setAngles(MyEntity entity, float limbAngle, float limbDistance, float animationProgress, float headYaw, float headPitch) { getPart().traverse().forEach(ModelPart::resetTransform); animator.animate(entity.punchState, PUNCH_ANIMATION, animationProgress); } } ```

🤖 AI-enhanced — based on mod data

📊 Mod Details

Game
Minecraft Mods
Author
TakiSpl
Version
0.2.1+1.19.4
Downloads
1,297
Endorsements
3
Category
fabric
Created
4/1/2023
Updated
6/10/2023
Game Versions
1.19.4, 1.20, 1.20.1
Tags
library

🔧 How to Install Minecraft Mods Mods

Download from Modrinth. Use Prism Launcher or drop into your mods folder.

📖 Full step-by-step install guide for Minecraft Mods →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Mods commands, item IDs, and more.

❓ Frequently Asked Questions

Which Minecraft Mods versions does Json Entity Animation support?

The author lists 1.19.4, 1.20, 1.20.1. Other versions may work but are untested by the author.

What is the latest version of Json Entity Animation?

Version 0.2.1+1.19.4, published 2023-06-10 with 1,297 downloads recorded at the source.

Keep browsing — more Minecraft Mods mods await

📋 All Minecraft Mods Mods 🏆 Top 25 📂 More fabric 👤 More by TakiSpl 🔎 Similar Mods 🌐 Best fabric (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods