Effect action
Fields for this consumable treatment action.
since NTM 1.0.1Applies to NTM 1.0.1, 1.0.2, 1.0.3, 1.0.4.Shown because All revisions is selected.
Consumable treatments place this action in actions.
Fields
| Field | Meaning and default | Range |
|---|---|---|
type | effect. | |
effect | Mob-effect ID. | |
duration | Duration in ticks. | [1, \texttt{i32::MAX}] |
amplifierOptional | Zero-based effect level; default 0. | [0, \texttt{i32::MAX}] |
extendOptional | Adds duration to the active effect duration; default false. The resulting duration must fit a signed integer. | |
incurableOptional | 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:
{"type": "effect", "effect": "minecraft:regeneration", "duration": 100, "amplifier": 0}Counter action1.0.1+
Fields for this consumable treatment action.
Remove-effects action1.0.1+
Fields for this consumable treatment action.
© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.