movblock.mov

Item hazards

Item hazard assignments and fields.

File: data/<namespace>/hbm/hazard/<path>.json.

Example:

{
  "targets": "minecraft:stick",
  "entries": [
    {
      "type": "hbm:radiation",
      "level": 0.1
    }
  ],
  "priority": 1000,
  "mutex": 0
}

targets selects an item ID, #namespace:tag, or an item-ID list. Target hazardous blocks through their item.

Fields

FieldMeaning and defaultRange
targetsItem ID, item tag, or ID list receiving the hazards.
entriesHazard contributions; an empty list clears this binding.
priority​OptionalBinding order; lower integers apply first; default 1000.\texttt{i32}
mutex​OptionalBit mask suppressing later bindings that share already-seen bits; default 0.\texttt{i32}

Hazard types

Hazard typeEffect of level
hbm:radiationBase radiation in rad/s before inventory and protection modifiers
hbm:contaminatingRadiation added to the surrounding field by a dropped item
hbm:digammaDigamma contamination rate
hbm:hotFire exposure intensity
hbm:blindingBlindness duration intensity
hbm:asbestosAsbestos exposure intensity
hbm:coalCoal-dust exposure intensity
hbm:hydroactiveExplosion strength on water contact
hbm:explosiveExplosion strength
hbm:toxicPoison-effect severity
hbm:coldCold-exposure intensity

The disable_* switches in the hazards group of radiation_config turn off the asbestos, coal, hot, explosive, hydroactive, blinding, cold and toxic types individually.

Binding overrides

Override the original resource ID when changing an existing binding. Each item and each tag accepts one assignment; a second assignment naming the same item or tag fails world startup. A direct item assignment replaces that item's built-in binding, including component-dependent reactor-fuel hazards. An item's direct binding and the bindings of its tags contribute together, ordered by priority, then tag before direct, then tag or item ID.

Shipped bindings target #hbm:hazard/<name> tags and material tags such as #c:ingots/uranium. Adding an item to such a tag applies that binding.

Stack-dependent radiation

An empty entry list clears its binding. Other tag bindings and stack-dependent radiation continue to apply:

  • A positive hbm:haz_radiation item component adds a radiation entry of that level.

  • Storage crates, Safes and Toolboxes add the summed radiation of their stored items; a Plastic Bag doubles it and a Containment Box takes its square root.

  • Other items add the summed radiation of items in their container, bundle or charged-projectile components or stored block inventory.

Items in #c:ores/uranium or #c:ores/thorium carry no hazards.

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

On this page