Damage 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 | damage. | |
sources | Damage-type ID, #namespace:tag, or ID list. Use a nonempty selection. | |
amount | Damage attempted per application. | [0, \texttt{f32::MAX}] |
repeatOptional | Number of damage applications after a successful roll; default 1. | [1, \texttt{i32::MAX}] |
one_inOptional | One successful roll per this many outcomes; default 1. The roll covers the entire action. | [1, \texttt{i32::MAX}] |
Each application chooses a damage type uniformly from sources. Damage follows the selected type's normal armor and invulnerability rules.
Example:
{"type": "damage", "sources": "minecraft:magic", "amount": 2.0, "one_in": 4}Remove-effects action1.0.1+
Fields for this consumable treatment action.
Potion-sickness 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.