Home›Java›Mods›CustomRarity
CustomRarity
ModsJava

CustomRarity

Java mod listed for Minecraft 1.20. Downloads from the MC Java Mods app on Android.

by Partonetrain · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.1 · Fabric⬇ Download for 1.20.1 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

CustomRarity

Allows pack makers to define Item Rarity by either NBT or config file. Requires ClothConfig and has optional ModMenu integration. Best for use with mods like Legendary Tooltips and Immersive UI.

Examples

Define by NBT:

/give @p stick{CustomRarity:"Epic"}

This mod also comes with Item Modifiers: /item modify entity @p container.0 customrarity:rare will modify the item in the first slot of your hotbar. Item Modifiers can be used in loot tables.

Define by config:

	"uncommons": [
		"minecraft:diamond"
	],

NBT has precedence over config, and config has precedence over vanilla rarity value.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more