# Effect action

Fields for this consumable treatment action.

[Consumable treatments](https://movblock.mov/ntm-next/26.3/wiki/consumable-treatments.md) place this action in `actions`.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | `effect`. | |
| `effect` | Mob-effect ID. | |
| `duration` | Duration in ticks. | `[1, i32::MAX]` |
| `amplifier` (Optional) | Zero-based effect level; default 0. | `[0, i32::MAX]` |
| `extend` (Optional) | Adds duration to the active effect duration; default false. The resulting duration must fit a signed integer. | |
| `incurable` (Optional) | Applies the effect without normal cure items; default false. | |

When `extend` is true, the active duration is added using the authored amplifier. Vanilla effect merging determines the resulting effect.

## Example:

```json
{
  "type": "effect",
  "effect": "minecraft:regeneration",
  "duration": 100,
  "amplifier": 0
}
```
