Files
minecraft-bedrock-json-schemas/source/behavior/items/1.16.200/components/minecraft.durability.json

27 lines
900 B
JSON
Raw Normal View History

2021-01-03 18:59:21 +01:00
{
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.1.16.200.items.minecraft:durability",
2021-01-03 18:59:21 +01:00
"title": "Durability",
"description": "Durability item component: how much damage can this item take before breaking.",
"type": "object",
"additionalProperties": false,
"required": ["damage_chance"],
"properties": {
"damage_chance": {
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Damange Chance",
2021-01-03 18:59:21 +01:00
"description": "Damange chance",
"additionalProperties": false,
"required": ["min", "max"],
2021-05-18 23:32:44 +02:00
"properties": {
"min": { "title": "Min", "type": "integer", "description": "The minimum" },
"max": { "title": "Max", "type": "integer", "description": "The minimum" }
}
2021-01-03 18:59:21 +01:00
},
2021-05-18 23:32:44 +02:00
"max_durability": {
"title": "Max Durability",
"description": "Max durability is the amount of damage that this item can take before breaking.",
"type": "number"
}
2021-01-03 18:59:21 +01:00
}
}