minecraft:spell_effects

Dynamic value

Properties

This component has no properties in the official schema: add it as an empty object {} to switch the behaviour on.

Example from the game files

This is how vanilla Player uses it in Minecraft Bedrock 1.26.60.5:

{
  "minecraft:spell_effects": {
    "add_effects": [
      {
        "display_on_screen_animation": true,
        "duration": 30,
        "effect": "raid_omen"
      }
    ],
    "remove_effects": "bad_omen"
  }
}

Used by 4

Vanilla entities with minecraft:spell_effects in their definition:

Related components