Back to mods
Material Json project artwork

Modrinth · Minecraft mod

Material Json

Makes tool & armour materials changeable through datapacks.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Material Json release matches 1.20.2?

Updated 2 years ago
Best match for your filters 1.0
Game version 1.20, 1.20.1, 1.20.2
Loader Fabric

Material Json 1.0 targets 1.20, 1.20.1, 1.20.2 with Fabric. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is Material Json required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Material Json 1.0 need?

1.0 on 1.20.2. Every mod below is checked against that same setup.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Material Json 1.0
required
Matching file found Matched file: [1.20.2] Fabric API 0.91.6+1.20.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Material Json without breaking your instance.

Built for Material Json 1.0 on 1.20.2. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0. It targets 1.20, 1.20.1, 1.20.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0. It opens that exact file at the source.

About this project

What does Material Json add?

🚨 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! Simple editing through Minecraft's datapack structure and .json files, allow you to do anything!

✅ Features

  • Synced from server to client, instantly change anything on datapack reload!
  • Support for mods that add new Weapons, Armor & Tools.
  • Configuration allows for changing of any material for any Weapon, Armor or Tool.

⛏️ Tool Material Configuration

Tool materials can be configured in a datapack under <namespace>:materials/tool/<path>.json. Please note that datapacks can choose to override a single field from a datapack below it, by only specifying that field.
The .json file contains the following fields:

  • durability: integer
    • Specifies the durability.
      Must be a 32-bit integer number at least 1.
  • mining_speed: float
    • Specifies the mining speed.
      Must be a single-precision floating-point number at least 0.0.
  • attack_damage: float
    • Specifies the attack damage. Please note that individual items (e.g. swords) might add a bonus or malus to this.
      Must be a single-precision floating-point number.
  • mining_level: integer
    • Specifies the mining level.
      Must be a 32-bit integer number at least -1.
  • enchantability: integer
    • Specifies the enchantability.
      Must be a 32-bit integer number at least.
  • ingredient: resource_or_tag
    • Specifies the ingredient used for repairing.
      Must be a single item ID or a hash-prefixed item tag.

👑 Armour Material Configuration

Tool materials can be configured in a datapack under <namespace>:materials/tool/<path>.json. Please note that datapacks can choose to override a single field from a datapack below it, by only specifying that field.
The .json file contains the following fields:

  • durability:
    • helmet|chestplate|leggings|boots: integer
      • Specifies the durability of the piece.
        Must be a 32-bit integer number at least 1.
  • protection:
    • helmet|chestplate|leggings|boots: integer
      • Specifies the protection of the piece.
        Must be a 32-bit integer number at least 0.
  • enchantability: integer
    • Specifies the enchantability.
      Must be a 32-bit integer number at least.
  • equip_sound: resource_location
    • Specifies the sound when the armor is equipped.
      Must be a sound event as defined in sounds.json.
  • ingredient: resource_or_tag
    • Specifies the ingredient used for repairing.
      Must be a single item ID or a hash-prefixed item tag.
  • toughness: float
    • Specifies the armor toughness.
      Must be a single-precision floating-point number.
  • knockback_resistance: float
    • Specifies the knockback resistance.
      Must be a single-precision floating-point number.

Project description from Modrinth.

Pick your setup

Material Json by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

5 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Material Json versions and loaders

1 of 1 releases match

Looking for an older file? The official Modrinth project page is in Resources.