2020-11-01 17:22:42 +01:00
{
"$schema" : "http://json-schema.org/draft-07/schema" ,
"$id" : "blockception.minecraft.behaviour.entities.events.1.14.0" ,
"type" : "object" ,
"title" : "Entity 1.14.0" ,
"definitions" : {
"addremove" : {
"additionalProperties" : false ,
2021-03-21 15:18:38 +01:00
"title" : "Add/remove Schema" ,
2020-11-01 17:22:42 +01:00
"description" : "The components groups to add or remove" ,
"type" : "object" ,
"properties" : {
"component_groups" : {
2021-03-21 15:18:38 +01:00
"title" : "Component Groups Schema" ,
2020-11-01 17:22:42 +01:00
"description" : "The components groups to add or remove" ,
"type" : "array" ,
2021-03-21 15:18:38 +01:00
"items" : { "type" : "string" , "description" : "TODO description: component groups" , "title" : "Component Groups" }
2020-11-01 17:22:42 +01:00
}
}
} ,
"event_base" : {
"additionalProperties" : false ,
"type" : "object" ,
"properties" : {
2021-03-21 15:18:38 +01:00
"add" : { "$ref" : "#/definitions/addremove" , "description" : "TODO description: add" , "title" : "Add" } ,
"remove" : { "$ref" : "#/definitions/addremove" , "description" : "TODO description: remove" , "title" : "Remove" } ,
2020-11-01 17:22:42 +01:00
"randomize" : {
"type" : "array" ,
"items" : {
"required" : [ "weight" ] ,
"properties" : {
2021-03-21 15:18:38 +01:00
"add" : { "$ref" : "#/definitions/addremove" , "description" : "TODO description: add" , "title" : "Add" } ,
"remove" : { "$ref" : "#/definitions/addremove" , "description" : "TODO description: remove" , "title" : "Remove" } ,
"trigger" : { "type" : "string" , "description" : "UNDOCUMENTATED" , "title" : "UNDOCUMENTATED" } ,
"weight" : { "type" : "number" , "description" : "TODO description: weight" , "title" : "Weight" }
2020-11-01 17:22:42 +01:00
} ,
"description" : "TODO description: randomize" ,
"title" : "Randomize"
} ,
"description" : "TODO description: randomize" ,
"title" : "Randomize"
} ,
"sequence" : {
"type" : "array" ,
"items" : {
"description" : "TODO description: sequence" ,
"title" : "Sequence" ,
"type" : "object" ,
"properties" : {
2021-03-21 15:18:38 +01:00
"add" : { "$ref" : "#/definitions/addremove" , "description" : "TODO description: add" , "title" : "Add" } ,
"remove" : { "$ref" : "#/definitions/addremove" , "description" : "TODO description: remove" , "title" : "Remove" } ,
"filters" : { "$ref" : "./filters.json" }
2020-11-01 17:22:42 +01:00
}
} ,
"description" : "A series of filters and components to be added" ,
"title" : "Sequences"
} ,
2021-03-21 15:18:38 +01:00
"filters" : { "$ref" : "./filters.json" } ,
"trigger" : { "type" : "string" , "description" : "UNDOCUMENTATED" , "title" : "UNDOCUMENTATED" }
2020-11-01 17:22:42 +01:00
}
}
} ,
"properties" : {
"minecraft:entity_transformed" : {
"description" : "Event called on an entity that transforms into another entity." ,
"$ref" : "#/definitions/event_base" ,
"title" : "Entity Transformed"
} ,
2020-11-03 10:56:32 +01:00
"minecraft:entity_born" : {
2020-11-01 17:22:42 +01:00
"description" : "Event called on an entity that is spawned through two entities breeding." ,
"$ref" : "#/definitions/event_base" ,
2021-01-18 01:29:00 +01:00
"title" : "Entity Born"
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"minecraft:entity_spawned" : { "description" : "Event called on an entity that is placed in the level." , "$ref" : "#/definitions/event_base" , "title" : "Entity Spawned" } ,
"minecraft:on_prime" : { "description" : "Event called on an entity whose fuse is lit and is ready to explode." , "$ref" : "#/definitions/event_base" , "title" : "On Prime" }
2020-11-01 17:22:42 +01:00
} ,
2021-03-21 15:18:38 +01:00
"additionalProperties" : { "$ref" : "#/definitions/event_base" } ,
2020-11-01 17:22:42 +01:00
"description" : "TODO description: "
}