HomeJavaModsModularRarity
ModularRarity
ModsJava

ModularRarity

by Yanbwe · on Modrinth

a ModularShoot × RarityCore integration mod

⬇ Download on Modrinth

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

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

II. 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

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more