{
  "$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" }
      ]
    }
  }
}
