promotional bannermobile promotional banner

ModularRarity

a ModularShoot × RarityCore integration mod

ModularRarity

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.

How It Works

  1. Gun base rarity and plugin rarity bonuses are both declared via the modularrarity:rarity key in extra_values.

  2. On plugin install/uninstall, the sum of modularrarity:rarity across the gun and its plugins is computed, and the rarity-control component is written or removed accordingly.

Requirements

For Developers

Declaring extra_values in a ModularShoot datapack definition is all it takes — no code needed:

{
  "name": "lang:example.gun",
  "texture": "modularshoot:textures/gun/example.png",
  "stats": { ... },
  "slots": { ... },
  "extra_values": { "modularrarity:rarity": 3 }
}

Not declared = 0

FAQ

Q1: No example items?
A1: They're in ModularShoot — go grab them.

Q2: Do body-snatched vanilla items bound to guns or plugins benefit?
A2: Yes.

License

MIT

The ModularRarity Team

Forgeborn tier frameprofile avatar
Owner
Forgeborn tier icon
  • 5
    Followers
  • 10
    Projects
  • 206.6K
    Downloads

More from YanbweView all