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 additional health hazard in blue.
<p><i>Credit: Gado Images</i></p>
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.
<p><i>Credit: BRADY</i></p>
The GHS identification system is a widely-used standard containing various easily recognizable pictograms to describe chemicals' hazards.
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.
<p><i>Credit: Safety and Health Magazine</i></p>
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.
❗ Note: Similarly to item frames, Hazard Diamonds are entities. You can also place more than one in the same block-space.
🔔 Note: You'll know if the diamond was edited successfully when the hammering sound effect plays.
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.
MIT © 2023 spadeteam

Implements the NFPA 704 and GHS identification standards in Minecraft