
Tool Stats Tweaker
A simple mod that lets you edit item stats via config
Fabric requires Fabric API Forge and NeoForge requires Sinytra Connector and its dependencies!
This mod lets you edit tool stats and whatnot through a config:
Documentation:
Format:
your_mod:your_item=[a_value:
Operations:
*(value) - multiplies by that amount
Ex: Multiply stone sword durability by 2 minecraft:stone_sword=[durability:*2]
/(value) - divides by that amount
Ex: Divide diamond sword damage by 4 minecraft:diamond_sword=[attack_damage:/4]
-(value) - subtracts by that amount
Ex: Make iron pickaxe as weak as a stone one minecraft:iron_pickaxe=[tool_tier:-1]
+(value) - adds by that amount
Ex: Give golden axes 600 extra durability minecraft:golden_axe=[durability:+600]
=(value) - sets it to that amount
Ex: Sets all food items to have a maximim stack of 1 #c:foods=[max_stack:=1]
Boolean values:
fireproof - whether or not an item becomes fireproof
Ex: Make golden axes fireproof minecraft:golden_axe=[fireproof:true]
Integer values:
durability - overall durability
enchantability - likelihood of getting higher level enchantments
max_stack - maximum item stack (do note that you cannot go over 64)
tool_tier - (0 is nothing, 1 is stone tools, 2 is iron tools, 3 is diamond tools)
Decimal values:
armor - armor points given by this armor
armor_toughness - armor toughness of this armor
attack_speed - attack speed of the weapon
attack_damage - attack damage of the weapon (do note that some weapons have a base damage that is fixed)
mining_speed - mining speed of the tool
Strings:
thrown - projectile to shoot when this weapon is right clicked
More examples:
minecraft:iron_boots=[armor_toughness:=5.0]

by writing =5.0, it sets the armor toughness of iron boots to 5
minecraft:golden_axe=[fireproof:true]

this makes the golden axe unburnable
minecraft:diamond_sword=[durability:-600,attack_damage:/4]

durability: -600 reduces durability by 600, attack_damage: /4 reduces its bonus attack damage by 75%
minecraft:netherite_sword=[thrown:'minecraft:fireball']

makes netherite swords shoot a fireball when right clicked
Example config for you to play around with
tool-stats-tweaker.txt
minecraft:golden_sword=[durability:+600]
minecraft:golden_axe=[durability:+600,fireproof:true]
minecraft:diamond_sword=[durability:-600,fireproof:true,attack_damage:/4]
minecraft:stone_sword=[durability:*2]
minecraft:netherite_axe=[durability:/2,fireproof:false,attack_speed:+1]
minecraft:fire_charge=[thrown:'minecraft:small_fireball',max_stack:=16]
minecraft:netherite_sword=[thrown:'minecraft:fireball']
minecraft:netherite_hoe=[enchantability:*100,thrown:'minecraft:wither_skull',attack_speed:*4]
minecraft:stick=[max_stack:=32]
minecraft:golden_leggings=[armor:=5.0,armor_toughness:=2.0]
minecraft:golden_boots=[armor:=5.0]
minecraft:wooden_pickaxe=[mining_speed:+3.0]
minecraft:iron_pickaxe=[tool_tier:-1]
minecraft:iron_helmet=[armor:+5.0]
minecraft:iron_boots=[armor_toughness:=5.0]
#c:foods=[max_stack:=1]
