{
  "$id": "blockception.minecraft.behavior.items.minecraft:damage_absorption",
  "title": "Damage Absorption",
  "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.",
  "type": "object",
  "properties": {
      "absorbable_causes": {
          "title": "Absorbable Causes",
          "description": "List of damage causes that can be absorbed by the item. By default, no damage cause is absorbed.",
          "type": "array",
          "items": {
              "type": "string",
              "$ref": "../../../../general/entity/damage_source.json"
          },
          "minItems": 1
      }
    },
    "required": [
        "absorbable_causes"
    ]
}
