截图
介绍
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
- ModularShoot ≥ 0.1.3
- RarityCore ≥ 1211.14.5
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
常见问题
ModularRarity 支持哪些 Minecraft 版本?
ModularRarity 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
ModularRarity 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
Yanbwe 的其他作品
查看全部 →RarityCore
The Rarity Core is an all-encompassing rarity enhancement mod that establishes a new rarity system
RarityCore
The Rarity Core is an all-encompassing rarity enhancement mod that establishes a new rarity system
RarityCore
The Rarity Core is an all-encompassing rarity enhancement mod that establishes a new rarity system
Search Carefully
SearchCarefully is a Minecraft mod that adds a tactical search system similar to Tarkov, allowing players to progressively uncover items in containers.
评论
登录后评论和评分