2021-01-03 18:59:21 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
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-03-21 15:18:38 +01: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-03-21 15:18:38 +01: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
}
}