Files
minecraft-bedrock-json-schemas/source/behavior/entities/1.8.0/components/minecraft.spell_effects.json

31 lines
1.0 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": {
"type": ["array", "string"],
"description": "List of identifiers of effects to be removed from this entity after adding this component",
"items": {
"type": ["string"]
},
"title": "Remove Effects"
}
}
}