The minecraft:damage_absorption component is intended to absorb damage that would otherwise be dealt to its wearer, reducing the item's durability and ignoring any excess damage. However, if the item has the Unbreaking enchantment, damage is absorbed only when the item takes durability damage, making absorption effectively random-contrary to the documentation.
For this to occur, the item must have a minimum damage chance below 100 in the minecraft:durability component.
https://learn.microsoft.com/en-us/minecraft/creator/reference/content/itemreference/examples/itemcomponents/minecraft_damage_absorption?view=minecraft-bedrock-experimental
{
"format_version": "1.26.10",
"minecraft:item": {
"description": {
"identifier": "legendary_creeper:absorb_boots",
"menu_category": {
"category": "equipment",
"group": "minecraft:itemGroup.name.boots"
}
},
"components": {
"minecraft:icon": {
"textures": {
"default": "absorb_boots"
}
},
"minecraft:max_stack_size": 1,
"minecraft:enchantable": {
"value": 9,
"slot": "armor_feet"
},
"minecraft:wearable": {
"slot": "slot.armor.feet",
"protection": 4
},
"minecraft:damage_absorption": {
"absorbable_causes": [
"fall"
]
},
"minecraft:durability": {
"damage_chance": {
"min": 0,
"max": 100
},
"max_durability": 300
},
"minecraft:tags": {
"tags": [
"minecraft:trimmable_armors"
]
}
}
}
}Comments 5
Here is an add-on that contains an item with the mentioned component. The item is wearable as boots and absorbs fall damage. To test it, first teleport the player a couple of times into the air using:
/tp @s ~~30~
Then take the item and enchant it with Unbreaking 3 using the command:
/enchant @s unbreaking 3
Updated the add-on to 26.50 with some adjustments.
Attachment.
This issue has been reviewed by our team.
Please add new, relevant information if it helps us understand or reproduce the issue. To show that youβre affected, use the vote feature rather than commenting.
If a fix is implemented, it will be listed in our official changelogs.
For major outages or urgent assistance, visit the Minecraft Help Center.
Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response.
Could you please provide an addon showcasing the issue?
This ticket will automatically reopen when you reply.
Quick Links:
π Issue Guidelines β π¬ Mojang Support β π§ Suggestions β π Minecraft Wiki