Tool Tiers

Each tool type goes into a seperate file into the 'addon/[namespace]/tool_tiers' folder, which can then be used for custom tools (swords, pickaxes, etc.).

Settings:

Setting Type Description Required Fallback Value
level Integer Determines the mining level and what blocks can be harvested. For reference: iron has 2, diamond has 3. So obsidian can only be mined with tools with the level 3 or above, thats why you need a diamond pickaxe for it true /
uses Integer Determines the durability for tool. For reference: iron has 250, diamond has 1561 true /
speed Float Determines the mining speed. For reference: iron has 6.0, diamond has 8.0 true /
attack_damage_bonus Float Determines the additional attack damage. For reference: iron has 2.0, diamond has 3.0 true /
enchantment_value Integer Determines the enchantibility of the item. For reference: iron has 9, diamond 10, gold 25. true /
repair_ingredient class_1856 Ingredient definition for repairing the item in an anvil. Can be defined like in recipes. false empty ingredient

Example:

{"level":2,"uses":420,"speed":6.9,"attack_damage_bonus":2.5,"enchantment_value":12,"repair_ingredient":{"tag":"minecraft:dirt"}}