Download CustomRarity — Minecraft Mods — MetaMods

CustomRarity

Active

Downloads

0

Last update

1 year ago

Versions

1.20.1
Client and server
Fabric
Quilt
Utils

CustomRarity

This mod provides content pack creators with the ability to define item rarity through two methods: using NBT tags or configuration file settings. It requires ClothConfig to function and offers optional integration with ModMenu. Perfectly complements modifications like Legendary Tooltips and Immersive UI.

Configuration via NBT

Using commands, you can directly set an item's rarity:

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

Additionally, the mod adds item modifiers. For example, the command:

/item modify entity @p container.0 customrarity:rare

will change the rarity of the item in the first slot of your hotbar. These modifiers can be utilized in loot tables.

Configuration via Config File

In the configuration file, you can specify lists of items with different rarity levels:

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

The priority for determining rarity is as follows: NBT values have the highest priority, followed by configuration file settings, with vanilla game's default rarity values having the lowest priority.

Project members
Partonetrain

Partonetrain

Developer

Created: 15 Jun 2024

ID: 25226