1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2025-09-30 04:12:53 +00:00
Files
2025-09-09 10:02:11 -07:00

21 lines
822 B
JSON

{
"$id": "2063418195",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "It allows an item to absorb damage that would otherwise be dealt to its wearer. For this to happen, the item needs to be equipped in an armor slot. The absorbed damage reduces the item's durability, with any excess damage being ignored. Because of this, the item also needs a `minecraft:durability` component.",
"properties": {
"absorbable_causes": {
"description": "List of damage causes that can be absorbed by the item. By default, no damage cause is absorbed.",
"items": {
"type": "string"
},
"minItems": 1,
"type": "array"
}
},
"required": [
"absorbable_causes"
],
"title": "minecraft:damage_absorption",
"type": "object",
"x-format-version": "1.21.10"
}