Radiation profiles
Split item radiation into channels and add hazards by tag or item.
File: data/<namespace>/leafia/radiation_profile/<path>.json. The registry loads with the world and syncs to clients. Profiles apply after NTM's code hazards and hbm:hazard bindings, before the hazard tables publish.
Fields
| Field | Meaning and default | Range |
|---|---|---|
targets | Item ID, #namespace:tag, or item-ID list. | |
radiationOptional | Radiation spectrum replacing the target's first hbm:radiation entry; applies while enable_rad_classification is true. | |
additionsOptional | Hazard entries appended to the target's data, after the spectrum; default empty. | |
base_tagOptional | Item tag ID without #. A tag target without hazard data starts from this tag's data, as it was before any profile applied. | |
mutexOptional | Replaces the data's mutex bits. | \texttt{i32} |
Unknown fields are ignored. A profile with neither an applicable radiation nor additions changes nothing.
Application
A profile copies the target's hazard data, keeping its mutex and priority. With an applicable radiation, it removes the first hbm:radiation entry and adds one entry for each nonzero channel. Each channel entry reads the stack's minecraft:custom_data keys <channel>_abs, an absolute level, and <channel>_mod, a multiplier. additions follow, then mutex if present.
A tag target without data starts from base_tag's data, or from new data with mutex 1. An item target without data starts from new data with mutex 0. NTM then folds an item's hazard data as described in Item hazards: data whose mutex bits overlap bits already taken is skipped.
Two profiles naming the same tag, or the same item among item targets, stop the world from loading. To neutralize a shipped profile, override its resource ID with the same targets and no radiation or additions.
Shipped profiles use the IDs leafia:tag/<tag-namespace>/<tag-path> and leafia:item/<item-namespace>/<item-path>. The resource ID has no other effect.
Examples
data/leafia/leafia/radiation_profile/tag/c/crystals/francium.json:
{"additions": [{"type": "leafia:alkaline", "level": 6.0}], "radiation": {"alpha": 1500000.0, "gamma": 14000000.0}, "targets": "#c:crystals/francium"}data/leafia/leafia/radiation_profile/tag/c/crystals/neptunium.json inherits from the canonical isotope tag:
{"base_tag": "c:crystals/neptunium_237", "radiation": {"alpha": 25.0}, "targets": "#c:crystals/neptunium"}DFC catalysts and cores
Power, heat and fuel modifiers of DFC catalysts and cores.
Hazard types
Hazard types Cursed adds to NTM item hazards.
© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.