Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json
2021-05-13 13:51:13 +02:00

34 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.spell_effects",
"type": "object",
"title": "Spell Effects 1.8.0",
"additionalProperties": false,
"description": "Defines what mob effects to add and remove to the entity when adding this component.",
"required": [],
"properties": {
"add_effects": {
"type": "array",
"description": "List of effects to add to this entity after adding this component",
"items": {
"oneOf": [
{ "type": "string" },
{ "type": "object", "properties": { "effect": { "type": "string" }, "duration": { "type": "integer" }, "display_on_screen_animation": { "type": "boolean" } } }
]
},
"title": "Add Effects"
},
"remove_effects": {
"title": "Remove Effects",
"description": "List of identifiers of effects to be removed from this entity after adding this component",
"oneOf": [
{
"type": "array",
"items": { "type": ["string"], "title": "Spell effect id", "description": "identifier of the effect to be removed from this entity after adding this component" }
},
{ "type": "string" }
]
}
}
}