Entity Model JSON

Entity Model JSON

1.4k Downloads

Entity Model JSON

This is a Minecraft mod for Forge 1.18 which allows declaring entity models in JSON. It can be used to create powerful entity models in both mods and modpacks.

For modpack makers

For modpack makers, vanilla and modded entity models can be overridden in JSON using this system.

For modders

For modders, entity models can be declared in JSON and shipped as assets in the final jar, with a required dependency on this mod.

Getting Started Resources

For resources on how to declare and use JSON entity models, please see the following: - All vanilla entity models exported as JSON - This resource allows you to see how all vanilla entity models look in a JSON format. They can be used as a starting skeleton, or directly copied to override vanilla entity models with a custom variant. - An example Forge mod using JSON entity models - The complete JSON spec - This JSON file documents all the properties you can possibly use. - The complete JSON schema - This has the complete JSON Schema of entity models. You can use this for hints in your editor of choice when making a JSON entity model.

Adding as a mod dependency (modders)

To add this mod as a dependency, first add this to your repositories block: repositories { // Entity Model JSON maven maven { url = 'https://sizableshrimp.me/maven' } }

Then, add the dependency to your dependencies block. For the latest version, see here. dependencies { implementation fg.deobf("me.sizableshrimp:entitymodeljson:${minecraft_version}-${entitymodeljson_version}") }

For a complete example, see here.