> For the complete documentation index, see [llms.txt](https://docs.creoii.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.creoii.dev/lucky-block/outcomes/effect-outcome.md).

# Effect Outcome

The effect outcome applies Status Effects to mobs. See <https://minecraft.wiki/w/Effect> for information about Status Effects.

```json
{
  "type": "lucky:effect",
  "status_effect": {
    "id": "minecraft:slowness",
    "amplifier": 4,
    "duration": 600
  }
}
```

This outcome applies Slowness III to the breaking player for 600 ticks, or 30 seconds.

```json
{
  "type": "lucky:effect",
  "status_effect": {
    "id": "minecraft:slowness",
    "amplifier": 4,
    "duration": 600
  },
  "shape": {
    "type": "lucky:cube",
    "size": [3, 3, 3]
  }
}
```

This outcome applies the same status effect to all mobs within a 3x3x3 cube around the Lucky Block.
