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

40 lines
1.2 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
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" },
2021-05-18 23:32:44 +02:00
{
"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",
2021-05-18 23:32:44 +02:00
"items": {
"type": ["string"],
2021-05-26 01:27:39 +02:00
"title": "Spell Effect ID",
2021-05-18 23:32:44 +02:00
"description": "identifier of the effect to be removed from this entity after adding this component"
}
2021-05-13 13:51:13 +02:00
},
{ "type": "string" }
]
}
2020-11-01 17:22:42 +01:00
}
}