movblock.mov

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

FieldMeaning and defaultRange
typedamage.
sourcesDamage-type ID, #namespace:tag, or ID list. Use a nonempty selection.
amountDamage attempted per application.[0, \texttt{f32::MAX}]
repeat​OptionalNumber of damage applications after a successful roll; default 1.[1, \texttt{i32::MAX}]
one_in​OptionalOne 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}

© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.

On this page