Skip to content

1.21.1 tools

github-actions[bot] edited this page Dec 2, 2026 · 3 revisions

Tools

Tool Set — Full Example

Note: tool_set only supports pickaxe, axe, shovel, and hoe. To add a sword alongside tools, use a separate weapon_set or individual sword file.

{
  "id": "my_tools",
  "type": "tool_set",
  "tool_names": {
    "en_us": {
      "pickaxe": "My Pickaxe",
      "axe":     "My Axe",
      "shovel":  "My Shovel",
      "hoe":     "My Hoe"
    },
    "es_mx": {
      "pickaxe": "Mi Pico",
      "axe":     "Mi Hacha",
      "shovel":  "Mi Pala",
      "hoe":     "Mi Azada"
    }
  },
  "tools": {
    "pickaxe": {
      "durability": 8000,
      "attack_damage": 5.0,
      "attack_speed": 1.2,
      "mining_speed": 20.0,
      "harvest_level": 4,
      "held_effects": [ { "effect": "minecraft:haste", "amplifier": 1 } ]
    },
    "axe": {
      "durability": 7000,
      "attack_damage": 8.0,
      "attack_speed": 0.9,
      "mining_speed": 15.0,
      "harvest_level": 4
    },
    "shovel": {
      "durability": 6000,
      "attack_damage": 4.0,
      "attack_speed": 1.0,
      "mining_speed": 18.0,
      "harvest_level": 4
    },
    "hoe": {
      "durability": 5000,
      "attack_damage": 3.0,
      "attack_speed": 1.0,
      "mining_speed": 16.0,
      "harvest_level": 4,
      "till_radius": 3
    }
  },
  "enchantable": true,
  "enchantability": 22,
  "texture": {
    "refs": {
      "pickaxe": "minecraft:item/netherite_pickaxe",
      "axe":     "minecraft:item/netherite_axe",
      "shovel":  "minecraft:item/netherite_shovel",
      "hoe":     "minecraft:item/netherite_hoe"
    }
  },
  "recipes": {
    "pickaxe": { "type": "smithing_transform", "template": "minecraft:netherite_upgrade_smithing_template", "base": "mymod:my_diamond_pickaxe",  "addition": "minecraft:netherite_ingot" },
    "axe":     { "type": "smithing_transform", "template": "minecraft:netherite_upgrade_smithing_template", "base": "mymod:my_diamond_axe",     "addition": "minecraft:netherite_ingot" },
    "shovel":  { "type": "smithing_transform", "template": "minecraft:netherite_upgrade_smithing_template", "base": "mymod:my_diamond_shovel",  "addition": "minecraft:netherite_ingot" },
    "hoe":     { "type": "smithing_transform", "template": "minecraft:netherite_upgrade_smithing_template", "base": "mymod:my_diamond_hoe",     "addition": "minecraft:netherite_ingot" }
  }
}

Tool Fields

Field Type Description
tools Map Defines each tool. Keys: pickaxe, axe, shovel, hoe
tools.durability Int Durability of this tool
tools.attack_damage Float Base attack damage
tools.attack_damage_bonus Float Additional damage added on top of attack_damage
tools.attack_speed Float Attack speed. Sword=1.6, Axe=0.9, Shovel=1.0
tools.damage_multiplier Float Multiplies attack_damage; attack_damage_bonus is added after. Default: 1.0
tools.mining_speed Float Mining speed. Netherite=9.0, Diamond=8.0, Iron=6.0
tools.harvest_level Int 0=Wood, 1=Stone, 2=Iron, 3=Diamond, 4=Netherite
tools.held_effects List Effects applied when this tool is held in hand
tools.till_radius Int (Hoe only) Radius of blocks to till around the target. 0 = no area tilling
tool_names Map Full name for each tool per language. Each language defines all tools independently.

Vanilla reference

Values from Minecraft 1.21.1, to compare yours against.

By material

Material mining_speed durability enchantability harvest_level
Wood 2.0 59 15 0
Stone 4.0 131 5 1
Iron 6.0 250 14 2
Gold 12.0 32 22 0
Diamond 8.0 1561 10 3
Netherite 9.0 2031 15 4

Gold is the fastest, but it only mines what wood can. To see what a speed means for a given block, see the break time formula in Blocks.

Attack damage and speed

Damage and speed as the tooltip shows them, which is what attack_damage and attack_speed take (with attack_damage_bonus 0).

Material Pickaxe Axe Shovel Hoe
Wood 2 / 1.2 7 / 0.8 2.5 / 1.0 1 / 1.0
Stone 3 / 1.2 9 / 0.8 3.5 / 1.0 1 / 2.0
Iron 4 / 1.2 9 / 0.9 4.5 / 1.0 1 / 3.0
Gold 2 / 1.2 7 / 1.0 2.5 / 1.0 1 / 1.0
Diamond 5 / 1.2 9 / 1.0 5.5 / 1.0 1 / 4.0
Netherite 6 / 1.2 10 / 1.0 6.5 / 1.0 1 / 4.0

Each cell is attack_damage / attack_speed.

Clone this wiki locally