2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
2021-04-04 13:52:35 +02:00
"$id" : "blockception.minecraft.behavior.condition.random_difficulty_chance" ,
2020-11-01 17:22:42 +01:00
"type" : "object" ,
"additionalProperties" : false ,
"description" : "Sets a random chance of the specified value based on the level difficulty." ,
2021-03-21 15:18:38 +01:00
"title" : "Random Difficulty Chance" ,
2020-11-01 17:22:42 +01:00
"properties" : {
2021-03-21 15:18:38 +01:00
"condition" : { "type" : "string" , "title" : "Condition" , "description" : "TODO" } ,
"default_chance" : { "type" : "number" , "default" : 0 , "description" : "The default random chance if the level difficulty is not assigned." , "title" : "Default Chance" } ,
2020-11-01 17:22:42 +01:00
"easy" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The default random chance if the level difficulty is in easy. Omitting this field will set the value to \"default_chance\" field." ,
"title" : "Easy"
} ,
"hard" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The default random chance if the level difficulty is in hard. Omitting this field will set the value to \"default_chance\" field." ,
"title" : "Hard"
} ,
"normal" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The default random chance if the level difficulty is in normal. Omitting this field will set the value to \"default_chance\" field." ,
"title" : "Normal"
} ,
"peaceful" : {
"type" : "number" ,
"default" : 0 ,
"description" : "The default random chance if the level difficulty is in peaceful. Omitting this field will set the value to \"default_chance\" field." ,
"title" : "Peaceful"
}
}
}