ModularRarity
by Yanbwe
ModularRarity links ModularShoot's plugin system with RarityCore, so a gun's rarity can shift as its plugins are installed or removed.
What it does
Gun rarity in ModularRarity starts from a base value set on the gun and adds bonuses from each installed plugin. Both are declared with the modularrarity:rarity key in extra values, and the sum is recalculated whenever a plugin is installed or uninstalled. The result is stored in a rarity-control component on the gun, which is written or removed as the plugin set changes, so the displayed rarity follows the gun in real time.
The bridge is intended for ModularShoot setups that want gun rarity to reflect attachments. Its example items show how the datapack definition declares the extra values, and vanilla items can be bound to guns and plugins so they take part in the same system. The mod is published for NeoForge only, in one game version, 1.21.1, and it requires ModularShoot and RarityCore to run.
Key features
Plugin-based rarity bonuses
Each installed gun plugin can add a rarity bonus, and the bonuses are combined with the gun's base rarity.
Real-time rarity updates
Installing or removing a plugin recalculates the gun's rarity immediately, without restarting the game.
Datapack declaration
Base rarity and plugin bonuses are declared in the ModularShoot datapack definition with the modularrarity:rarity key.
Vanilla item binding
Vanilla items can be bound to guns and plugins, so they take part in the rarity system without custom code.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 2
Questions
Does ModularRarity need ModularShoot and RarityCore?
Does ModularRarity have to be installed on the server?
How is a declared rarity value set for a gun?
In the catalog
ModularRarity is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from Yanbwe
Similar mods
What the author says
Dynamic gun rarity — a ModularShoot × RarityCore integration mod (1.21.1 / NeoForge) ModularRarity bridges ModularShoot's plugin system with RarityCore: when a plugin is installed on a gun, the gun's rarity changes in real time with the plugin's bonus.
Official listing
- Modrinth page
- modrinth.com/mod/modularrarity
- Owner
- Yanbwe
- Published
- 2026-08-10
- Updated on Modrinth
- 2026-08-10
- Facts verified
- 2026-10-15
