#Tools not losing durability
7 messages · Page 1 of 1 (latest)
Please make sure to read #1029468016594911232 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
Are you using item wizard?
If so there is a durability button you have to toggle on when creating it, it also has a slider to set the durability anount
i did do it, it simply isnt losing durability
Like the sword loses durability perfectly
{
"format_version": "1.20.50",
"minecraft:item": {
"description": {
"identifier": "gruntmod:copper_sword",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.sword"
}
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:icon": {
"texture": "copper_sword"
},
"minecraft:damage": 7,
"minecraft:can_destroy_in_creative": false,
"minecraft:hand_equipped": true,
"minecraft:enchantable": {
"slot": "sword",
"value": 14
},
"minecraft:durability": {
"max_durability": 190
},
"minecraft:repairable": {
"repair_items": [
{
"items": ["copper_ingot"],
"repair_amount": 47
}
]
}
}
}
}
But all the other tools do not
{
"format_version": "1.20.50",
"minecraft:item": {
"description": {
"identifier": "gruntmod:copper_pickaxe",
"menu_category": {
"category": "equipment",
"group": "itemGroup.name.pickaxe"
}
},
"components": {
"minecraft:max_stack_size": 1,
"minecraft:icon": {
"texture": "copper_pickaxe"
},
"minecraft:damage": 3,
"minecraft:digger": {
"destroy_speeds": [
{
"speed": 6,
"block": {
"tags": "query.any_tag('stone')"
}
},
{
"speed": 6,
"block": {
"tags": "query.any_tag('metal')"
}
}
]
},
"minecraft:hand_equipped": true,
"minecraft:enchantable": {
"slot": "pickaxe",
"value": 14
},
"minecraft:durability": {
"max_durability": 210
},
"minecraft:repairable": {
"repair_items": [
{
"items": ["copper_ingot"],
"repair_amount": 52
}
]
}
}
}
}