🪝 Rarity

About

Rarity controls the probability of enchantment when enchanting based on the Weight option, and the enchantment display format based on the Name Format option.

The probability is determined weight / total weight * 100%, where total_weight is the sum of the weights of all available enchantments including vanilla ones.

You can see weights of the vanilla enchantments here.

Setup

You can create your own rarities in the config.yml -> Rarity section.

By default there are 4 rarities: Common, Rare, Legendary and Mythic.

You can use colors for the Name_Format option to make custom enchantment names colored in item tooltips.

Be careful when removing existing rarities! Make sure there is no leftovers of the deleted rarity in the /enchants/ configs. Enchantments with invalid rarity will not work properly.

Last updated