CurseForge · Minecraft mod
ZSRarity
Crafttweaker addon for making custom "rarities"
Quick answer
Which ZSRarity release should I use?
zsrarity-1.0.5.jar targets 1.12.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. 1 required mod needs a matching file.
Where it goes
Is ZSRarity required on the client, server, or both?
The project page does not say whether this file belongs on the client, dedicated server, or both.
The source does not explicitly classify this release as client-only or server-only.
What else does zsrarity-1.0.5.jar need?
zsrarity-1.0.5.jar. Change the file and its required mods may change too.
Install CraftTweaker first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.
We only count dependency files that match this setup. A file for another loader does not fill the gap.
Before you install it
Add ZSRarity without breaking your instance.
Built for zsrarity-1.0.5.jar. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use zsrarity-1.0.5.jar. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
Install CraftTweaker first, but 1 required mod has no matching file for this setup. Do not mix loader builds to force a match.
- 03
Put it on the correct side
The project page does not say whether this file belongs on the client, dedicated server, or both.
- 04
Pick the file you checked
Use the “Get this file” button beside zsrarity-1.0.5.jar. It opens that exact file at the source.
About this project
What does ZSRarity add?
Tired of having only 3 fancy colors to choose? Want to make your materials glow like high-tiered items from popular servers? Just want to have some visual sense of progression?
ZSRarity adds an ability to select one of 16 default colors for your items as "rarity", which will make their names in GUI be colored!

To do that, write in your crafttweaker scripts:
<modid:name>.setRarity(colorName);
where colorName can be any of following (case doesn't matter):
- red
- blue
- gold
- dark_blue
- dark_purple
- purple
- green
- dark_green
- dark_aqua
- black
- aqua
- dark_red
- light_purple
- white
- yellow
- gray
- dark_gray
But hey, Trashbox, I can just set color codes in language files. Why I should use this?
- works in runtime: you can change rarity codes on fly to create complex effects
- can be easily used in loops or other code
- doesn't edit language files, which means than rarities from this mod work with every language without extra work
- friendly color names will make easier to understand which color your item will take without looking at wiki
Limitations:
- changing language will not translate ZSRarity-colored items to chosen language, you will need to restart the game
MaterialSystem support:
Due to how B.A.S.E./ContentTweaker handle creating material parts, the method this mod uses doesn't work.
To add rarity to those items, you need to use special class, named zsrarity.MaterialPartRarity.
This class only has one method: MaterialPartRarity.setRarity(MaterialPartDefinition part, string rarity), which will set the rarity to desired Material Part.
MaterialPartDefinition: just result of bracket handler <materialpart:material:part>.
Project description from CurseForge.
Pick your setup
ZSRarity by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.12.2
2 loader buildsCheck the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
ZSRarity versions and loaders
zsrarity-1.0.5.jar
18 Jul 2022
zsrarity-1.0.4.jar
6 Jun 2022
zsrarity-1.0.3.jar
5 Aug 2021
zsrarity-1.0.2.jar
4 Aug 2021
zsrarity-1.0.1.jar
4 Aug 2021
zsrarity-1.0.jar
4 Aug 2021
zsrarity-1.0.jar
3 Aug 2021
Looking for an older file? The official CurseForge project page is in Resources.