36 lines
1.0 KiB
JSON
36 lines
1.0 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:durability",
|
|
"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",
|
|
"title": "Damange chance",
|
|
"description": "Damange chance",
|
|
"additionalProperties": false,
|
|
"required": ["min", "max"],
|
|
"properties": {
|
|
"min": {
|
|
"title": "Min",
|
|
"type": "integer",
|
|
"description": "The minimum"
|
|
},
|
|
"max": {
|
|
"title": "Max",
|
|
"type": "integer",
|
|
"description": "The minimum"
|
|
}
|
|
}
|
|
},
|
|
"max_durability": {
|
|
"title": "Max durability",
|
|
"description": "Max durability is the amount of damage that this item can take before breaking.",
|
|
"type": "number"
|
|
}
|
|
}
|
|
}
|