HomeBedrockAddonsEquipment Durability
Equipment Durability
AddonsBedrock

Equipment Durability

by alisson31br · on CurseForge

This Addon is a powerful utility for Minecraft Bedrock Addon creators. It automatically applies a robust, vanilla-accurate durability system to tools and…

⬇ Download on CurseForge

Hello Addon Creators! This addon provides you a comprehensive and robust durability management system for custom tools and armor in Minecraft Bedrock Edition, aiming to replicate vanilla mechanics. Game Version: 1.21.110 or above.

Key features include:

How To Use

Examples:

{

    "format_version": "1.21.110",
    "minecraft:item": {
        "description": {
            "identifier": "custom_addon:amethyst_boots",
            "menu_category": {
                "category": "equipment",
                "group": "minecraft:itemGroup.name.boots"
            }
        },
        "components": {
            "equipments_durability:has_durability": {},
            "minecraft:tags": {
                "tags": [
                    "minecraft:is_armor"
                ]
            },
            "minecraft:icon": "custom_addon:amethyst_boots",
            "minecraft:max_stack_size": 1,
            "minecraft:should_despawn": true,
            "minecraft:durability": {
                "max_durability": 550
            },
            "minecraft:display_name": {
                "value": "item.custom_addon:amethyst_boots.name"
            },
            "minecraft:wearable": {
                "protection": 5,
                "slot": "slot.armor.feet"
            },
            "minecraft:enchantable": {
                "value": 17,
                "slot": "armor_feet"
            },
            "minecraft:repairable": {
                "repair_items": [
                    {
                        "items": [
                            "minecraft::amethyst"
                        ],
                        "repair_amount": "q.max_durability * 0.25"
                    },
                    {
                        "items": [
                            "custom_addon:amethyst_boots"
                        ],
                        "repair_amount": "context.other->q.remaining_durability + 0.05 * context.other->q.max_durability"
                    }
                ]
            }
        }
    }

}

 

  • Tool:
{
    "format_version": "1.21.110",
    "minecraft:item": {
        "description": {
            "identifier": "custom_addon:amethyst_sword",
            "menu_category": {
                "category": "equipment",
                "group": "minecraft:itemGroup.name.sword"
            }
        },
        "components": {
            "equipments_durability:has_durability": {},
            "minecraft:tags": {
                "tags": [
                    "minecraft:is_sword",
                    "minecraft:is_tool"
                ]
            },
            "minecraft:icon": "sword",
            "minecraft:can_destroy_in_creative": false,
            "minecraft:hand_equipped": true,
            "minecraft:max_stack_size": 1,
            "minecraft:should_despawn": true,
            "minecraft:damage": {
                "value": 10
            },
            "minecraft:durability": {
                "max_durability": 2500
            },
            "minecraft:display_name": {
                "value": "item.custom_addon:amethyst_sword.name"
            },
            "minecraft:enchantable": {
                "slot": "sword",
                "value": 13
            },
            "minecraft:repairable": {
                "repair_items": [
                    {
                        "items": [
                            "custom_addon:amethyst_refined"
                        ],
                        "repair_amount": "q.max_durability * 0.25"
                    },
                    {
                        "items": [
                            "custom_addon:amethyst_sword"
                        ],
                        "repair_amount": "context.other->q.remaining_durability + 0.05 * context.other->q.max_durability"
                    }
                ]
            },
            "minecraft:digger": {
                "use_efficiency": false,
                "destroy_speeds": [
                    {
                        "block": "minecraft:mangrove_leaves",
                        "speed": 1
                    },
                    {
                        "block": "minecraft:cherry_leaves",
                        "speed": 1
                    },
                    {
                        "block": "minecraft:azalea_leaves_flowered",
                        "speed": 1
                    },
                    {
                        "block": "minecraft:azalea_leaves",
                        "speed": 1
                    },
                    {
                        "block": "minecraft:leaves2",
                        "speed": 1
                    },
                    {
                        "block": "minecraft:leaves",
                        "speed": 1
                    },
                    {
                        "block": "minecraft:bamboo",
                        "speed": 15
                    },
                    {
                        "block": "minecraft:web",
                        "speed": 15
                    }
                ]
            }
        }
    }
}
Quick facts

Install steps are the general flow for this file type — see the MCModsHub guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more