mirror of
https://github.com/Mojang/bedrock-samples.git
synced 2025-08-06 19:11:53 +00:00
22 lines
938 B
JSON
22 lines
938 B
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "2063418195",
|
|
"x-format-version": "1.21.10",
|
|
"x-minecraft-version": "1.21.100-beta.6",
|
|
"title": "minecraft: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": {
|
|
"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"
|
|
]
|
|
} |