Tools, Don't Break.

Quick rating

Community listing page, reviews may not be monitored by the author.

Tools, Don't Break.

By LaxystemOwner

No reviews yet

Broken tools will stay, like Elytras.

Mod Loaders
Minecraft

About

Description

Instead of breaking, tools will gain negative durability. Tools with ≤ 0 durability won't work at all.

Combine your tools in a crafting table or an anvil to repair them, or smelt them into nuggets.


For Developers

  • Data component types added to #tdnb:removed_from_broken_items will be removed from an item when it breaks.
    • Data component types added to #tdnb:restored_to_repaired_items will be re-added to an item when it is repaired from.
    • Data component types added to #tdnb:removed_from_broken_and_restored_to_repaired_items will be added to both (by default, minecraft:tool and minecraft:weapon).
    • Components to be restored are stored under the tdnb:broken_components object inside the minecraft:custom_data data component.
  • Enchantments added to #tdnb:ignored will not be disabled when they break, nor re-enabled when they are repaired (by default, minecraft:mending and minecraft:vanishing_curse).
    • Disabled enchantments are moved from minecraft:enchantments to minecraft:stored_enchantments.
  • Items added to #tdnb:ignored will be ignored by TDNB completely (by default, #c:elytra containing minecraft:elytra, and #tconstruct:modifiable).

This mod was made for the Vanillative modpack.

Instead of breaking, tools will gain negative durability. Tools with ≤ 0 durability won't work at all.

Combine your tools in a crafting table or an anvil to repair them, or smelt them into nuggets.


For Developers

  • Data component types added to #tdnb:removed_from_broken_items will be removed from an item when it breaks.
    • Data component types added to #tdnb:restored_to_repaired_items will be re-added to an item when it is repaired.
    • Data component types added to #tdnb:removed_from_broken_and_restored_to_repaired_items will be added to both (by default, minecraft:tool and minecraft:weapon).
    • Components to be restored are stored under the tdnb:broken_components object inside the minecraft:custom_data data component.
    • Enchantments added to #tdnb:ignored will not be disabled when they break, nor re-enabled when they are repaired (by default, minecraft:mending and minecraft:vanishing_curse).
      • Disabled enchantments are moved from minecraft:enchantments to minecraft:stored_enchantments.
    • Items added to #tdnb:ignored will be ignored by the mod completely (by default, #c:elytra containing minecraft:elytra, and #tconstruct:modifiable).

This mod was made for the Vanillative modpack.