Hazard Diamond
by spadeteam
Hazard Diamond is a library mod that lets players create and display NFPA 704 hazard diamonds in the world without writing any code.
What it does
Hazard Diamond implements the NFPA 704 hazard identification standard, the placard widely called the fire diamond. Players craft a Hazard Diamond item by placing dye of the matching quadrant color around a diamond iron ingot in the center, then place it in the world like a normal block. The placed diamond stays editable: a player approaches it and interacts to open an edit screen, and sneak-interacting with a honeycomb in hand waxes it into an immutable state.
The mod is primarily a library. Via its API, a mod can open an editable screen on the client, similar to a placeable entity, and receive the changes players submit. Installation requires Fabric API. Hazard Diamond runs on client and server, so the server and every player need it. Files are published for Fabric and Quilt for 1.20.4, and the code is under the MIT License, so the mod is open source. Optional support includes Mod Menu, WTHIT and YetAnotherConfigLib (YACL).
Key features
NFPA 704 placards
Diamonds follow the NFPA 704 standard, with health, flammability, instability and special hazard quadrants set by the player.
Craftable diamond item
The item is crafted from dye, a diamond and an iron ingot, so each quadrant color can be chosen at the crafting stage.
Editable and waxable placards
A placed diamond opens an edit screen on interaction, and a honeycomb locks it so the entity shows an immutable state.
WTHIT tooltip
With WTHIT installed, the hazard data of a placed diamond appears in a tooltip.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Optional 3
Use cases
Chemical storage areas
Warehouse or lab builds can label barrels and vats with the hazard level of their contents.
Map and server displays
Server owners can place readable hazard information on adventure maps and roleplay hubs.
Who it’s for: Mod developers who want an in-world hazard display, and players who build storage or industrial scenes that need labeled placards.
Questions
Does Hazard Diamond require Fabric API?
Does the server need Hazard Diamond?
How is a placed diamond locked against further edits?
Which game versions does Hazard Diamond support?
In the catalog
Hazard Diamond is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,907 mods support Minecraft 1.20.4.
More from spadeteam
Similar mods
What the author says
The NFPA 704 is a standard created by the National Fire Protection Association. Colloquially, an implementation of this standard is known as a Fire Diamond or a Hazard Diamond. Despite being an extremely flammable material, Propane is a common household fuel used for barbecues and portable stoves. Take note of the…
Official listing
- Modrinth page
- modrinth.com/mod/hazard-diamond
- Owner
- spadeteam
- Published
- 2023-05-04
- Updated on Modrinth
- 2024-10-05
- Facts verified
- 2026-10-15
