Compatibility
Minecraft: Java Edition
Platforms
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
🚨 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 least1
.
- Specifies the durability.
mining_speed
: float- Specifies the mining speed.
Must be a single-precision floating-point number at least0.0
.
- Specifies the mining speed.
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.
- Specifies the attack damage. Please note that individual items (e.g. swords) might add a bonus or malus to this.
mining_level
: integer- Specifies the mining level.
Must be a 32-bit integer number at least-1
.
- Specifies the mining level.
enchantability
: integer- Specifies the enchantability.
Must be a 32-bit integer number at least.
- Specifies the enchantability.
ingredient
: resource_or_tag- Specifies the ingredient used for repairing.
Must be a single item ID or a hash-prefixed item tag.
- Specifies the ingredient used for repairing.
👑 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 least1
.
- Specifies the durability of the piece.
protection
:helmet
|chestplate
|leggings
|boots
: integer- Specifies the protection of the piece.
Must be a 32-bit integer number at least0
.
- Specifies the protection of the piece.
enchantability
: integer- Specifies the enchantability.
Must be a 32-bit integer number at least.
- Specifies the enchantability.
equip_sound
: resource_location- Specifies the sound when the armor is equipped.
Must be a sound event as defined in sounds.json.
- Specifies the sound when the armor is equipped.
ingredient
: resource_or_tag- Specifies the ingredient used for repairing.
Must be a single item ID or a hash-prefixed item tag.
- Specifies the ingredient used for repairing.
toughness
: float- Specifies the armor toughness.
Must be a single-precision floating-point number.
- Specifies the armor toughness.
knockback_resistance
: float- Specifies the knockback resistance.
Must be a single-precision floating-point number.
- Specifies the knockback resistance.