promotional bannermobile promotional banner
premium banner
Allows you to create custom rarities with hex colors via datapack.

Description

This mod allows you to create custom Rarities for your items via json datapack. Rarity json files go in data/custom_rarities/rarities/
and the json should look something like

{  
    "name": "amo:amazing",  
    "color": "#ff80dd",  
    "items": [  
      "minecraft:diamond_sword"  
    ]  
}  

The mod only supports hex colors, as it is convenient.
You can add rarities while in game and use the /reload command to see them, but editing or deleting your custom rarities require a restart due to how Minecraft handles rarities. It may be fixable but it would require a lot of workarounds and possibly some incompatabilities.