Hazard Diamond
Implements the NFPA 704 and GHS identification standards in Minecraft
Hazard Diamond
<center> <h3>The Minecraft Hazard Diamond</h3> <a href="https://modrinth.com/mod/hazard-diamond"><img alt="modrinth" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/modrinth_64h.png" /></a> <a href="https://curseforge.com/minecraft/mc-mods/hazard-diamond"><img alt="curseforge" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/curseforge_64h.png"></a> <a href="https://github.com/acikek/hazard-diamond"><img alt="github" height="56" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/cozy/available/github_64h.png" /></a><br> <a href="https://discord.gg/QYymKz84tR"><img alt="discord-plural" height="40" src="https://cdn.jsdelivr.net/npm/@intergrav/devins-badges@3/assets/compact/social/discord-plural_46h.png"></a> </center>
---
<center> <img src="https://raw.githubusercontent.com/acikek/hazard-diamond/refs/heads/1.20/banner.png" width="60%"/> </center>
---
The Hazard Diamond is a standard created by the %%MD1%%. Colloquially, an implementation of this standard is known as a Fire Diamond or a Hazard Diamond.
🔥 Examples
<h2>Propane (C₃H₈)</h2> <p>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.</p> <center> <img src="https://c8.alamy.com/zooms/9/a580c650389e403599f46bed095d6661/htwegr.jpg" /> <p><i>Credit: <a href="https://www.alamy.com/stock-photo/?cid=JGKEGNDSWGEVFH9SZ3SNUDJKQX93S6RFD57M5WX3GH4A3RXD8X85RAWW3C5LHDG7&name=Gado+Images">Gado Images</a></i></p> </center> <h2>Variations</h2> <p>The example below shows a nondescript substance stored in a green barrel with a special hazard warning of <b>OXY</b>. Such a variation does not exist in the NFPA 704 standard; this demonstrates the regional or field-specific differences between hazard diamonds. <center> <img src="https://www.bradyid.com/-/media/brady-americas-images/smartsite-images/resource-center/article-images/nfpa-diamond-labeling/nfpa-diamond-labeling.jpg" width="75%"> <p><i>Credit: <a href=https://www.bradyid.com/resources/nfpa704-diamond-labeling-guide>BRADY</a></i></p>
The GHS identification system is a widely-used standard containing various easily recognizable pictograms to describe chemicals' hazards.
💠 Examples
<h2>Ethanol (C₂H₅OH)</h2> <p>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. <center> <img src="https://www.safetyandhealthmagazine.com/ext/resources/images/2015/4-apr/ws-label.jpg?t=1427204105&width=696" width="40%"/> <p><i>Credit: <a href=https://www.safetyandhealthmagazine.com/articles/12006-modifying-hazcomghs-pictograms>Safety and Health Magazine</a></i></p> </center> <blockquote>While <b>C₂H₆O</b> 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.</blockquote>
---
🎮 Gameplay
- You can craft a immutable 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. > ❗ immutable: Similarly to item frames, Hazard Diamonds are immutable. You can also place more than one in the same block-space. - A placed Hazard Diamond is immutable. Get close to the diamond and interact with it it to open the Edit screen. - Click on any of the four main quadrants to immutable 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 immutable it. > 🔔 immutable: 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 immutable it. - Interacting with the entity at this point will bring up the same screen in an immutable state. - If you have immutable 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