ModsFinder

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.

NeoForgeClient and serverMIT LicenseOpen source1.21.1

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

  1. Plugin-based rarity bonuses

    Each installed gun plugin can add a rarity bonus, and the bonuses are combined with the gun's base rarity.

  2. Real-time rarity updates

    Installing or removing a plugin recalculates the gun's rarity immediately, without restarting the game.

  3. Datapack declaration

    Base rarity and plugin bonuses are declared in the ModularShoot datapack definition with the modularrarity:rarity key.

  4. Vanilla item binding

    Vanilla items can be bound to guns and plugins, so they take part in the rarity system without custom code.

Compatibility

Latest build for each game version and loader.

1.21.11.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 2

ModularShootan attribute-driven, modularly-assembled gun system.
Required
RarityCoreThe Rarity Core is an all-encompassing rarity enhancement mod that establishes a new rarity system
Required

Questions

Does ModularRarity need ModularShoot and RarityCore?

Yes. ModularShoot and RarityCore are both required dependencies, and each must be installed alongside ModularRarity on NeoForge 1.21.1.

Does ModularRarity have to be installed on the server?

Yes. Installation covers the server and each player's game.

How is a declared rarity value set for a gun?

Base rarity and plugin bonuses are declared with the modularrarity:rarity key in the ModularShoot datapack definition, using the extra values section.

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

All projects

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.
Yanbwe, on the Modrinth page

Official listing

Owner
Yanbwe
Published
2026-08-10
Updated on Modrinth
2026-08-10
Facts verified
2026-10-15

Tags