Back to mods
Hazard Diamond project artwork

Modrinth · Minecraft mod

Hazard Diamond

Implements the NFPA 704 and GHS identification standards in Minecraft

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Hazard Diamond release should I use?

Updated 2 years ago
Latest stable file 2.2.0+1.20.4
Game version 1.20.4
Loader Fabric, Quilt

Hazard Diamond 2.2.0+1.20.4 targets 1.20.4 with Fabric, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. All 1 required mods have matching files.

Where it goes

Is Hazard Diamond required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Hazard Diamond 2.2.0+1.20.4 need?

2.2.0+1.20.4. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup. 7 come through another mod in the chain.

4 listed on this file 7 pulled in by those mods
Mod Menu Optional for Hazard Diamond 2.2.0+1.20.4
optional
Matching file found Matched file: 9.2.0
YetAnotherConfigLib (YACL) Optional for Hazard Diamond 2.2.0+1.20.4
optional
Matching file found Matched file: 3.6.6+1.20.4-fabric
WTHIT Optional for Hazard Diamond 2.2.0+1.20.4
optional
Matching file found Matched file: quilt-10.11.2
Fabric API Needed by Hazard Diamond 2.2.0+1.20.4
required
Matching file found Matched file: [1.20.4] Fabric API 0.97.3+1.20.4
Text Placeholder API Needed by Mod Menu
pulled in
Matching file found Matched file: 2.4.0-pre.3+1.20.4
EMI Needed by WTHIT
pulled in
Matching file found Matched file: 1.1.22+1.20.4+fabric
bad packets Needed by WTHIT
pulled in
Matching file found Matched file: fabric-0.6.2
Cloth Config API Needed by Roughly Enough Items (REI)
pulled in
Matching file found Matched file: 13.0.138+fabric
Architectury API Needed by Roughly Enough Items (REI)
pulled in
Matching file found Matched file: 11.1.17+fabric

7 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Hazard Diamond without breaking your instance.

Built for Hazard Diamond 2.2.0+1.20.4. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.2.0+1.20.4. It targets 1.20.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup. 7 come through another mod in the chain.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.2.0+1.20.4. It opens that exact file at the source.

About this project

What does Hazard Diamond add?

The Minecraft Hazard Diamond

modrinth curseforge github
discord-plural


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.

🔥 Examples

Propane (C₃H₈)

Despite being an extremely flammable material, Propane is a common household fuel used for barbecues and portable stoves. Take note of the additional health hazard in blue.

Credit: Gado Images

Variations

The example below shows a nondescript substance stored in a green barrel with a special hazard warning of OXY. Such a variation does not exist in the NFPA 704 standard; this demonstrates the regional or field-specific differences between hazard diamonds.

Credit: BRADY

The GHS identification system is a widely-used standard containing various easily recognizable pictograms to describe chemicals' hazards.

💠 Examples

Ethanol (C₂H₅OH)

Ethanol is a widespread yet potentially dangerous chemical. This gigantic vat of it warns that the substance is harmful, both in the long-term and from short exposure, and that it is flammable.

While C₂H₆O is an acceptable molecular formula for Ethanol, the author prefers the "OH" version due to the attached hydroxyl group's separation from the rest of the structure.

🎮 Gameplay

  • You can craft a Hazard Diamond item with a dye corresponding to each quadrant of the diamond and an iron ingot in the center.
  • Place the Hazard Diamond item down in the world like normal.

❗ Note: Similarly to item frames, Hazard Diamonds are entities. You can also place more than one in the same block-space.

  • A placed Hazard Diamond is editable. Get close to the diamond and interact with it it to open the Edit screen.
    • Click on any of the four main quadrants to scroll through its display options. The colored quadrants range from 0-4 while the white quadrant has a few special symbols to choose from.
    • The GHS pictograms are displayed below the main diamond. Click on a pictogram to toggle it.

🔔 Note: You'll know if the diamond was edited successfully when the hammering sound effect plays.

  • When you're done editing a Hazard Diamond, sneak-interact on the entity while holding a honeycomb to wax it.
    • Interacting with the entity at this point will bring up the same screen in an immutable state.
  • If you have WTHIT installed, you can also view the Hazard Data in the tooltip.

📚 Library

Hazard Diamond is primarily a library mod. It allows users to create and display Hazard Data to players with or without code. Exclusively within the API, however, is the ability to open mutable screens on the client—much like the placeable entity—and listen to when edits are submitted.

Make sure to read the wiki for information on how to set up and use the various development features provided by the mod.

License

MIT © 2023 spadeteam

Project description from Modrinth.

Pick your setup

Hazard Diamond by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

14 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Hazard Diamond versions and loaders

9 of 9 releases match

Looking for an older file? The official Modrinth project page is in Resources.