# Suit protection

Protection from armor sets, effects and conditional cladding.

**since NTM 1.0.1**

File: `data/<namespace>/hbm/suit_protection/<path>.json`.

The registry loads with the world and syncs to clients. Reopen singleplayer or restart the server after changing rules or their tags. Any matching rule grants its listed protections; rules may overlap.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `protections` | Nonempty list of `hazmat`, `sealed`, `asbestos`, `digamma`, or `digamma2`. | |
| `armor` (Optional) | Accepted items for all four armor slots; each worn piece must match its slot selector. | |
| `armor.head` | Item ID, item tag, or ID list accepted in the head slot. | |
| `armor.chest` | Item ID, item tag, or ID list accepted in the chest slot. | |
| `armor.legs` | Item ID, item tag, or ID list accepted in the legs slot. | |
| `armor.feet` | Item ID, item tag, or ID list accepted in the feet slot. | |
| `effect` (Optional) | Required active mob-effect ID. With armor, both conditions must match; alone, the effect grants protection. | |
| `max_health` (Optional) | Exclusive upper bound on maximum health; default Double.MAX_VALUE. | `[0, f64::MAX]` |
| `cladding_if_modified` (Optional) | Item ID, item tag, or ID list of accepted cladding. Requires armor. Each piece with armor mods must have matching cladding; unmodified pieces pass. | |

Supply `armor`, `effect`, or both. `hazmat` blocks contamination paths requiring basic hazmat protection; `sealed` covers the sealed-suit checks used by full-body hazards; `asbestos` blocks asbestos exposure; `digamma` blocks ordinary digamma exposure; `digamma2` also blocks the stronger digamma exposure path. Numeric radiation dose reduction uses [armor resistance](https://movblock.mov/ntm-next/wiki/hazards-and-radiation/hazmat-protection.md).

## Example:

File: `data/example/hbm/suit_protection/iron.json`.

```json
{
  "protections": ["asbestos"],
  "armor": {
    "head": "minecraft:iron_helmet",
    "chest": "minecraft:iron_chestplate",
    "legs": "minecraft:iron_leggings",
    "feet": "minecraft:iron_boots"
  }
}
```
