134 lines
4.1 KiB
JSON
134 lines
4.1 KiB
JSON
|
|
{
|
||
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
||
|
|
"$id": "blockception.minecraft.behaviour.entities.events1.11.0",
|
||
|
|
"type": "object",
|
||
|
|
"title": "Entity 1.11.0",
|
||
|
|
"definitions": {
|
||
|
|
"addremove": {
|
||
|
|
"additionalProperties": false,
|
||
|
|
"title": "The add/remove schema",
|
||
|
|
"description": "The components groups to add or remove",
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"component_groups": {
|
||
|
|
"title": "The component groups schema",
|
||
|
|
"description": "The components groups to add or remove",
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"type": "string",
|
||
|
|
"description": "TODO description: component groups",
|
||
|
|
"title": "Component Groups"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"event_base": {
|
||
|
|
"additionalProperties": false,
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"add": {
|
||
|
|
"$ref": "#/definitions/addremove",
|
||
|
|
"description": "TODO description: add",
|
||
|
|
"title": "Add"
|
||
|
|
},
|
||
|
|
"remove": {
|
||
|
|
"$ref": "#/definitions/addremove",
|
||
|
|
"description": "TODO description: remove",
|
||
|
|
"title": "Remove"
|
||
|
|
},
|
||
|
|
"randomize": {
|
||
|
|
"type": "array",
|
||
|
|
"items": {
|
||
|
|
"required": ["weight"],
|
||
|
|
"properties": {
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"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": {
|
||
|
|
"add": {
|
||
|
|
"$ref": "#/definitions/addremove",
|
||
|
|
"description": "TODO description: add",
|
||
|
|
"title": "Add"
|
||
|
|
},
|
||
|
|
"remove": {
|
||
|
|
"$ref": "#/definitions/addremove",
|
||
|
|
"description": "TODO description: remove",
|
||
|
|
"title": "Remove"
|
||
|
|
},
|
||
|
|
"filters": {
|
||
|
|
"$ref": "./filters.json"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"description": "A series of filters and components to be added",
|
||
|
|
"title": "Sequences"
|
||
|
|
},
|
||
|
|
"filters": {
|
||
|
|
"$ref": "./filters.json"
|
||
|
|
},
|
||
|
|
"trigger": {
|
||
|
|
"type": "string",
|
||
|
|
"description": "UNDOCUMENTATED",
|
||
|
|
"title": "UNDOCUMENTATED"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"properties": {
|
||
|
|
"minecraft:entity_transformed": {
|
||
|
|
"description": "Event called on an entity that transforms into another entity.",
|
||
|
|
"$ref": "#/definitions/event_base",
|
||
|
|
"title": "Entity Transformed"
|
||
|
|
},
|
||
|
|
"minecraft:minecraft:entity_born": {
|
||
|
|
"description": "Event called on an entity that is spawned through two entities breeding.",
|
||
|
|
"$ref": "#/definitions/event_base",
|
||
|
|
"title": "Minecraft:entity Born"
|
||
|
|
},
|
||
|
|
"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"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": {
|
||
|
|
"$ref": "#/definitions/event_base"
|
||
|
|
},
|
||
|
|
"description": "TODO description: "
|
||
|
|
}
|