1
0
mirror of https://github.com/Mojang/bedrock-samples.git synced 2024-11-24 15:06:14 +00:00
bedrock-samples/metadata/json_schemas/DamageAbsorption v1.21.10.json
Mike Ammerlaan 1440438305 v1.21.30.3
2024-09-17 09:13:33 -07:00

25 lines
1.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "2063418195",
"title": "minecraft:damage_absorption v1.21.10",
"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": "sequence container",
"description": "List of damage causes that can be absorbed by the item. By default, no damage cause is absorbed.",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1
}
},
"required": [
"absorbable_causes"
],
"$metaProperties": {
"CEREAL_DOCUMENTATION_TAG": false,
"CEREAL_JSON_SCHEMA": "DamageAbsorption v1.21.10"
}
}