NotJustJson
With NotJustJson installed, data packs can define their content in TOML, XML, YAML, NBT, SNBT and other file formats instead of JSON alone.
What it does
NotJustJson is a short utility mod that lets data packs use file types other than JSON. A data pack can define new data-pack elements, such as a biome, in a format like TOML or XML, and the mod reads that file as if it were the JSON original. Each file type is matched by its suffix, and the usage is fairly simple: one file per element, placed in the usual data path.
The mod is a Forge mod for 1.19.2 only, and it runs on the server side alone, so players join without installing anything. Its license is the Mozilla Public License 2.0, and the source code and issue tracker are public. Other mods can also register new file types through the FileType registry, which means a separate add-on mod that depends on NotJustJson can support formats of its own.
Key features
Multiple data formats
Data packs can supply elements in TOML, XML, YAML, NBT, SNBT and other formats besides JSON.
Custom biomes in other formats
A biome can be written as a TOML or XML file under the worldgen biome path, and it is loaded like the JSON version.
Extensible file types
Other mods can register new file types in the FileType registry, so support for further formats can be added without changing this mod.
Suffix conflict handling
When two files share an ID but use different suffixes, the loader keeps the alphabetically last suffixed file and logs an error.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Data packs written in TOML or XML
A data pack author can write elements in a format that suits them and skip hand-writing JSON.
Overriding JSON with another format
A data pack can replace a JSON file with a file of another format, such as test.toml over test.json, provided the two are in different data packs.
Who it’s for: NotJustJson suits data pack authors who prefer formats other than JSON and modders who want to register a new data file type. Server owners who run data packs can install it on their server only.
Questions
Does NotJustJson need to be installed on the client?
What happens if two files use the same ID with different suffixes?
Can a data pack override a JSON file with another format?
In the catalog
NotJustJson is one of 8,016 Management mods on ModsFinder, and one of 2,698 Management mods for Forge. 12,559 mods support Minecraft 1.19.2.
More from silverminer007
Similar mods
What the author says
Not Just Jason (NotJustJson or NJJ in short) is a utility mod, which allows to use other data types then json to define new data-pack elements. It will log an error if it detects one file being defined in different file types and is going to use the last match. The usage is fairly simple: One can use the other file…
Official listing
- Modrinth page
- modrinth.com/mod/notjustjson
- Owner
- silverminer007
- Published
- 2022-08-17
- Updated on Modrinth
- 2022-08-17
- Facts verified
- 2026-10-15
