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

34 lines
1.2 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
2021-04-04 13:52:35 +02:00
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.spell_effects",
2020-11-01 17:22:42 +01:00
"type": "object",
2021-03-21 15:18:38 +01:00
"title": "Spell Effects 1.8.0",
2020-11-01 17:22:42 +01:00
"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": [
2021-03-21 15:18:38 +01:00
{ "type": "string" },
{ "type": "object", "properties": { "effect": { "type": "string" }, "duration": { "type": "integer" }, "display_on_screen_animation": { "type": "boolean" } } }
2020-11-01 17:22:42 +01:00
]
},
"title": "Add Effects"
2020-11-01 17:22:42 +01:00
},
"remove_effects": {
2021-05-13 13:51:13 +02:00
"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" }
]
}
2020-11-01 17:22:42 +01:00
}
}