
RarityCore
The Rarity Core is an all-encompassing rarity enhancement mod that establishes a new rarity system
Список изменений
RarityCore V14 Update
Configuration Consolidation
All configuration related to rarity visuals is now consolidated into a single file, RarityStyle.json. Settings previously scattered across client.json and RarityClientConfig.json have been merged into it. More importantly, we've added even more granular configuration options!
The most notable change is the update to tooltips: rarity tier numbers, stars, and similar elements are now packed as placeholders, and all string content supports language keys. You have full freedom to rearrange their order and modify the content easily. For example, you can now swap the positions of stars and the rarity name! Or add some emoji decorations to tooltips based on the tier? Go wild!
Unlimited, Minimal Definition
The upper limit on rarity tiers has been completely removed. You can now configure styles for any tier equally, and we no longer define fixed names for tiers 1–7.
Think of it this way: RarityCore v14 has shifted
from "I built a rarity system with 7 tiers, and rarities inside and outside this range need different handling and configuration"
to "I preset 7 rarities for the system, but all tiers are handled and configured the same way — change them however you like."
API Upgrades
This version includes a lot of developer-facing updates, offering a more advanced API, but migration is usually not required.
- Translation key changes: Rarity translation keys in language files have been changed from names like
rarity.core.commonto numeric keysrarity.core.1throughrarity.core.7. If you use a custom resource pack, please update accordingly. - Named constants removed:
RARITY_COMMONthroughRARITY_UNIQUEhave been removed in favor of numeric tiers;MIN_RARITYandMAX_RARITYare retained. - Query enhancements: Support for retrieving tooltip content, translation keys, star configurations, border styles, etc., on a per‑tier basis.
- Event system: Three types of events — config reload, style change, and registry change.
- Query items by rarity: Support for scanning registries by tier to get a list of items.
- Rarity style modification: Now supports easier ways to modify and lock rarity styles.
