Codec2Schema
ModA tool to convert codecs to JSON schemas.
Type
Mod
Modrinth Downloads
337
Modrinth ID
fHmbIVtR
Last Updated
Apr 12, 2026
Description
Codec2Schema
Through the power of sheer will, mixins, and unchecked type casts, this mod transforms codecs into (mostly) usable JSON schemas.
When installed, this mod exports JSON schemas for data and resource pack files to <YOUR GAME DIRECTORY>/codec2schema. You can use the API to export your own codecs as well!
The generated JSON schemas will have autocomplete for registries (items, blocks, etc). This means that if you have mods that add items, for example, the ids for those items will show up for autocomplete. This is the main reason why I haven't provided any pre-generated schemas, if you were wondering.
There is no guarantee that this will work.
The following is the generated JSON schema for regional compliancies warnings:
{ "$ref": "#/definitions/def", "$schema": "https://json-schema.org/draft-07/schema", "definitions": { "def": { "type": "object", "propertyNames": { "type": "string" }, "additionalProperties": { "type": "array", "items": { "$ref": "#/definitions/def_1" } } }, "def_1": { "type": "object", "properties": { "delay": { "type": "integer", "minimum": -9223372036854775808, "maximum": 9223372036854775807 }, "period": { "type": "integer", "minimum": -9223372036854775808, "maximum": 9223372036854775807 }, "title": { "type": "string" }, "message": { "type": "string" } }, "required": [ "period", "title", "message" ] } } }It's not perfect, but it's good enough.
Compatibility
Mod Loaders
Game Versions
Similar Mods
Manifestation of the souls
Manifest your soul as a stand, kill bosses, follow quest lines and find structures
HexThings
An addon for Hex Casting that adds a few patterns I would find useful
Just Coordinates
Just Coordinates shows only XYZ coordinates on your screen — nothing more. Inspired by Bedrock Edition, designed for sim...
Infernal Farmer
A spicy twist on farming awaits in the heart of the Nether.
Soul Gravestone
Gravestone mod with ghost form on respawn
Cinch's Missing Blocks
Cinch's Missing Blocks aims to add all the block variants that Mojang skipped. From random wall and stair variants that...