截图
介绍
中文介绍正在准备中,下面暂时显示原文。
RarityJS is a Forge mod for Minecraft 1.20.1 made for modpack creators who want full control over item rarities through KubeJS.
Create your own rarity levels, assign them to individual items or entire groups of content, and optionally give them enhanced tooltip visuals with Obscure Tooltips.
Features
- Create custom rarities with KubeJS.
- Built-in Common, Uncommon, Rare, Unique, Legendary, Epic, Mythic, and God rarity IDs.
- Assign rarities by item ID, item tag, NBT, or mod ID.
- Set a global default rarity for otherwise-unmatched items.
- Replace Minecraft’s built-in Common/Uncommon/Rare/Epic rarities without overriding explicit RarityJS assignments.
- In-game Rarity Editor for Creative players — press F7, right-click an item, and choose its rarity.
- Export editor changes directly to
kubejs/startup_scripts/with/rarityjs export <filename>. - Optional built-in Rarity Tooltips resource pack for Obscure Tooltips, registered through Fragmentum.
- JEI-aware editor integration.
Example
RarityJSEvents.register(event => {
event.addRarity('example.ancient', 'dark_aqua')
event.setRarity('minecraft:nether_star', 'example.ancient')
event.setRarityByTag('forge:ingots/netherite', 'raritymod.legendary')
event.setRarityByMod('examplemod', 'raritymod.unique')
event.replaceRarityBy('minecraft:rare', 'raritymod.legendary')
})
Put your scripts in:
kubejs/startup_scripts/
Required Dependencies
- Minecraft Forge 47+
- KubeJS 2001.6.5-build.26+
- ApocalypseLib 1.2.0+
Optional Integrations
- Fragmentum 5.0.0+
- Obscure Tooltips 3.10.1+
- JEI
常见问题
RarityJS 支持哪些 Minecraft 版本?
RarityJS 支持 Minecraft Java 版 1.20.1–1.20.4,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
RarityJS 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
TokyoSU 的其他作品
查看全部 →ApocalypseLib
by TokyoSU
Core library for TokyoSU mods.
3.8万
1 个月前
CurseForge
Item Overlay Border
by TokyoSU
Animated item border compatible with JEI, REI, EMI and my mods.
3.3万
23 天前
CurseForge
CashShop
by TokyoSU
A cashshop used for modpack or server to sell items, armor or other think using copper, silver and gold currency.
192
1 年前
Modrinth
评论
登录后评论和评分