介绍
SetCraftJS is a powerful KubeJS addon that enables modpack developers to create custom equipment set effects with minimal effort. Designed with flexibility in mind, it allows you to define special bonuses when players wear specific combinations of items, from simple armor sets to complex custom configurations including Curios slots.
Key Features:
Multiple Set Modes: Support for standard equipment, Curios slots, or fully custom configurations
Diverse Effects: Apply potion effects, attribute modifiers, or custom event handlers
Custom Tooltips: Add informative tooltips to items indicating set bonuses
Event-Driven: Execute custom logic through event handlers when set conditions are met
KubeJS Integration: Seamless integration with KubeJS scripting
Example
SetCraftEvent.registry(event => {
event.create([
‘minecraft:diamond_helmet’,
‘minecraft:diamond_chestplate’,
‘minecraft:diamond_leggings’,
‘minecraft:diamond_boots’,
‘minecraft:diamond_sword’
], ‘diamond_set’)
.setName(‘Diamond Warrior Set’)
.mode(‘equipment’
.addPotionEffect(‘minecraft:strength’, 1, false, true
.addPotionEffect(‘minecraft:resistance’, 0, false, true)
.addAttribute(‘minecraft:generic.max_health’, ‘diamond_set_health’, 4.0, ‘addition’
.tooltip(true)
.customTooltip(tooltip => {
tooltip.add(‘§6Diamond Set Bonus:’, 0)
tooltip.add(‘§7• Strength II’, 1)
tooltip.add(‘§7• Resistance I’, 2)
tooltip.add(‘§7• +2 Hearts Max Health’, 3)
})
.build();
});
常见问题
SetCraftJS 支持哪些 Minecraft 版本?
SetCraftJS 支持 Minecraft Java 版 1.20.1–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
SetCraftJS 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
RainMelody 的其他作品
查看全部 →MoreEventsJS
它为 KubeJS 添加了更多事件。
Arcane Convergence
Arcane Convergence: Unifies Goety, Iron's Spells & Ars Nouveau mana systems with configurable spell costs.
KubeJS Data Component
KubeJS Data Component is an addon mod for Minecraft 1.21.1 NeoForge
Stellar Striker
This mod adds two weapons from Terraria Calamity
评论
登录后评论和评分