ModsFinder

Material Json

by boyonk

Material Json lets a datapack define the durability, mining speed, attack damage, armor values and repair ingredient of tool and armor materials, without writing code.

FabricClient and serverAll rights reserved1.20 – 1.20.4

What it does

Material definitions are JSON files loaded from datapacks. A datapack can change any single field, such as durability alone, and leave the others at their defaults, so a change does not require copying a whole material. Each material file sets the durability as a 32-bit integer, the mining speed and attack damage as single-precision floating-point numbers, and the mining level and enchantability as integers. Armor entries add protection per piece, armor toughness, knockback resistance and the sound played when the armor is equipped, which must be a sound event defined in sounds.json.

Changes are synced from the server to connected clients and take effect after a datapack reload, so new values appear without restarting the game. The mod also has a configuration file that lets server owners alter the materials of weapons, armor and tools. Support mods can add new weapons, armor and tools that read these material definitions, and the mod is intended to be used alongside them. Individual items can receive bonus or penalty values, for example for swords.

Key features

  1. Datapack material definitions

    Tool and armor materials are defined in JSON files, so a pack can add or change materials without a mod update.

  2. Per-field overrides

    A datapack only needs to specify the fields it changes, and the rest keep their defaults.

  3. Live sync and reload

    Changed materials are sent from the server to clients and apply after a datapack reload, with no restart needed.

  4. Configurable materials

    A configuration file lets server owners change the materials used by weapons, armor and tools.

Compatibility

Latest build for each game version and loader.

1.20.41.0
1.20.31.0
1.20.21.0
1.20.11.0
1.201.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Balancing a modpack

A modpack author can adjust durability and damage for vanilla-style tools and armor by editing a datapack.

Custom equipment sets

A datapack maker can give new weapons and armor their own material with a repair ingredient, mining level and sound.

Who it’s for: Datapack authors, modpack makers and server owners who want to tune tool and armor materials without writing Java code. Players who only play vanilla content need nothing beyond the required library.

Questions

Does Material Json need Fabric API?

Yes. Fabric API is listed as a required dependency, so it must be installed alongside Material Json on Fabric 1.20 – 1.20.4.

Does the mod have to be installed on the server and on clients?

Yes. The server and every player need the mod installed.

Which game versions does Material Json support?

Files exist for 1.20, 1.20.1, 1.20.2, 1.20.3 and 1.20.4, with 1.0 for 1.20.4 as the latest Fabric file, published on 2024-04-04.

In the catalog

Material Json is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.

More from boyonk

All projects

Similar mods

What the author says

🚨 1.20.5: Please note that due to changes in Minecraft's code, support for the latest version will take a while # Material Json Ever wanted to change the durability of all Iron Tools? What about changing the protection amounts of Diamond Armor? Or the mining speed of Netherite? Well, with Material Json you can!…
boyonk, on the Modrinth page

Official listing

Owner
boyonk
Published
2024-04-04
Updated on Modrinth
2024-04-04
Facts verified
2026-10-15

Tags