
Modrinth · Minecraft mod
JsonEM
Data driven entity model library
Quick answer
Which JsonEM release matches 1.20.5 Fabric?
JsonEM 0.2.1+1.20.6 targets 1.20.5, 1.20.6 with Fabric, Quilt. It must be installed on the client. Do not install it on the dedicated server. 1 required mod needs a matching file.
Where it goes
Is JsonEM required on the client, server, or both?
It must be installed on the client. Do not install it on the dedicated server.
This file is marked client-only.
What else does JsonEM 0.2.1+1.20.6 need?
0.2.1+1.20.6 on 1.20.5 Fabric. Every mod below is checked against that same setup.
Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add JsonEM without breaking your instance.
Built for JsonEM 0.2.1+1.20.6 on 1.20.5 Fabric. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 0.2.1+1.20.6. It targets 1.20.5, 1.20.6 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install Fabric API first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.
- 03
Put it on the correct side
It must be installed on the client. Do not install it on the dedicated server.
- 04
Pick the file you checked
Use the “Get this file” button beside 0.2.1+1.20.6. It opens that exact file at the source.
About this project
What does JsonEM add?
JsonEM (Json Entity Models)
Library for modders, resource pack makers, and modpack makers to create and edit entity models WITH JSON
Does not work with OptiFine format!
Generate Reference Entity Models:
If you'd like to dump json versions of all entity models (vanilla or modded) so that you can edit them easily with resource packs or use them as examples, here's how:
- Launch the game, and then open the configuration file located at
.minecraft/config/jsonem.properties. - Edit the second line of the file to be
dump_models=true. - Re-launch the game. Navigate to the folder
.minecraft/jsonem_dump. - Within this folder you should find all registered entity models dumped as json, formatted like a resource pack.
- Use this format when editing or adding models with a resource pack.
Edit Models in Blockbench:
To edit models in Blockbench, install the plugin located in this repository.
- Download the file
jsonem_models.jsfrom this GitHub repository - In Blockbench, navigate to
File > Plugins, and at the top of the dialog click the icon forLoad Plugin from File. Choose thejsonem_models.jsfile. - Navigate to
File > Newand chooseJsonEM Java Entity Modelto begin editing. - You can also
File > Open Modelto import a JsonEM json model file, such as those dumped from the game. - To export your model for use with JsonEM, navigate to
File > Export > Export JsonEM Java Entity Modeland save the file.
For Resource Pack/Modpack Makers:
- Complete the steps above to dump all entity models from your game or modpack.
- When editing your resource pack/modpack resources, add entity model json files as they are formatted in the dumped model folder.
For Modders:
JsonEM can be used to create TexturedModelData for your entities entirely using json.
This guide will demonstrate how to make the model for the cube entity in this tutorial with json.
- Include the mod as follows (versions can be found here):
repositories {
maven { url "https://api.modrinth.com/maven" }
}
dependencies {
// Replace <version> with desired version
modImplementation "maven.modrinth:jsonem:<version>"
include "maven.modrinth:jsonem:<version>"
}
- Register the entity model layer for your entity through JsonEM instead of Fabric API (Excludes the need for a code-generated TexturedModelData)
void onInitializeClient() {
[...]
JsonEM.registerModelLayer(MODEL_CUBE_LAYER); // Layer ID: "entitytesting:cube", Layer name: "main"
}
- Add a model file to your mod resources containing your entity's model data
EX:assets/entitytesting/models/entity/cube/main.json
{
"texture": {
"width": 64,
"height": 64
},
"bones": {
"cube": {
"transform": {
"origin": [0, 0, 0]
},
"cuboids": [
{
"uv": [0, 0],
"offset": [-6, 12, -6],
"dimensions": [12, 12, 12]
}
]
}
}
}
- Make sure that the bone
"cube"in the file above is being accessed with the same name in your entity model
public CubeEntityModel(ModelPart modelPart) {
this.base = modelPart.getChild("cube"); // The original tutorial used an unspecified field called EntityModelPartNames.CUBE
}
Project description from Modrinth.
Pick your setup
JsonEM by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.1.1
1 loader build1.21.8
1 loader build1.21.7
1 loader build1.21.4
1 loader build1.21.1
2 loader builds1.21-pre4
2 loader builds1.21-pre3
2 loader builds1.21-pre2
2 loader builds1.21-pre1
2 loader builds1.21
2 loader builds1.20.6
2 loader builds1.20.5
2 loader buildsShowing the newest 12 of 25 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
JsonEM versions and loaders
0.2.1+1.20.6
jsonem-0.2.1+1.20.6.jar
8 Jun 2024
Looking for an older file? The official Modrinth project page is in Resources.