2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
"$id" : "blockception.minecraft.behaviour.entities.1.8.0.minecraft.celebrate_hunt" ,
"type" : "object" ,
2021-03-21 15:18:38 +01:00
"title" : "Celebrate Hunt 1.8.0" ,
2020-11-01 17:22:42 +01:00
"description" : "Specifies hunt celebration behaviour." ,
"additionalProperties" : false ,
"properties" : {
2021-03-21 15:18:38 +01:00
"broadcast" : { "type" : "boolean" , "default" : true , "description" : "If true, celebration will be broadcasted to other entities in the radius." , "title" : "Broadcast" } ,
2020-11-01 17:22:42 +01:00
"celeberation_targets" : {
"$ref" : "../filters.json" ,
"description" : "The list of conditions that target of hunt must satisfy to initiate celebration." ,
2021-03-21 15:18:38 +01:00
"title" : "Celeberation Targets"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"celebrate_sound" : { "type" : "string" , "default" : "" , "description" : "The sound event to play when the mob is celebrating" , "title" : "Celebrate Sound" } ,
"duration" : { "type" : "integer" , "default" : 4 , "description" : "Duration, in seconds, of celebration" , "title" : "Duration" } ,
2020-11-01 17:22:42 +01:00
"radius" : {
"type" : "number" ,
"default" : 16 ,
"description" : "If broadcast is enabled, specifies the radius in which it will notify other entities for celebration." ,
"title" : "Radius"
} ,
"sound_interval" : {
"default" : 0 ,
"description" : "The range of time in seconds to randomly wait before playing the sound again" ,
2021-03-21 15:18:38 +01:00
"title" : "Sound Interval" ,
2020-11-01 17:22:42 +01:00
"oneOf" : [
{
"type" : "array" ,
"items" : [
2021-03-21 15:18:38 +01:00
{ "type" : "number" , "title" : "Maximum" } ,
{ "type" : "number" , "title" : "Maximum" }
2020-11-01 17:22:42 +01:00
]
} ,
2021-03-21 15:18:38 +01:00
{ "type" : "number" }
2020-11-01 17:22:42 +01:00
]
}
}
}