Json Entity Animation

Json Entity Animation

Library mod for creating your entity animations in JSON

by
1.2K Downloads
fabricquiltlibrary
Rent Server with this Mod

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. A Blockbench plugin (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 Modrinth Maven.

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.

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);
    }
}

Available Versions

Json Entity Animation 0.2.1 for 1.19.4-1.20.1release
MC 1.19.4, 1.20, 1.20.1fabric, quilt
June 10, 2023
Json Entity Animation 0.2 for 1.19.2release
MC 1.19.2fabric, quilt
April 6, 2023
Json Entity Animation 0.1 for 1.19.2release
MC 1.19.2fabric, quilt
April 1, 2023

How to Install Json Entity Animation on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Json Entity Animation". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricquilt

Minecraft Versions

1.20.1, 1.20, 1.19.4 (+1 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Json Entity Animation server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.1). You can switch loaders with one click in the panel.

Is Json Entity Animation compatible with fabric and quilt?

Json Entity Animation officially supports fabric, quilt for Minecraft 1.20.1, 1.20, 1.19.4. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Json Entity Animation – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Json Entity Animation consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Json Entity Animation with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.20.11.201.19.41.19.2