KubeCurios
KubeCurios is a lightweight NeoForge addon for Minecraft 26.1.2 that bridges KubeJS and Curios, allowing you to create, configure, and customize full-featured Curios accessories directly in KubeJS startup scripts—without relying on ServerEvents.tags or writing a separate Java mod.
Key Features
- Tag-Free Curio Registration & Whitelist System: Register custom accessories using the
kubecurios:curioitem type and bind them to slots with.slot(...). Using thekubecurios:whitelistvalidator, you can manage strict or hybrid slot rules without overwriting existing slots, and even allow vanilla or other modded items into Curios slots viaCuriosWhitelist.allow(...)while preserving their original behavior. Built-in startup diagnostics automatically verify item IDs, slot definitions, validators, and entity assignments. - Attributes & Lifecycle Hooks: Apply slot-scoped attribute modifiers (supporting
add_value,add_multiplied_base, andadd_multiplied_total), optionally hide auto-generated attribute tooltips, and react to functional equip/unequip state changes viaonEquipandonUnequipcallbacks. - Combat Mechanics & Active Skills: Configure on-hurt commands (with cooldowns, target selection, and trigger chances), incoming/outgoing and damage-type multipliers, flat armor and armor toughness bonuses, reusable named script behaviors (
CurioScripts.define), and keybound active skills (default key:V). - Stealth, Aggro & Mob Interaction Control: Adjust hostile mob detection ranges, provoke nearby neutral mobs, make specific hostile mobs ignore the wearer, or directly manipulate mob aggro on the server via
CuriosUtils. - Visuals, Appearance & Dynamic UI: Render vanilla armor-layer appearances without occupying armor slots, attach 3D item models to character body anchors through Curios' native renderer, highlight nearby hostiles with per-player private colored outlines, spawn shader-compatible 3D beams, add inventory slot decorators (glows, badges, and bars), and build dynamic or hold-key tooltips—all engineered without custom GLSL shaders or FBOs for full Iris shader compatibility.
How These Features Impact the User Experience
- For Modpack Creators: Replaces tedious Java mod boilerplate and fragile tag datapacks with a clean, unified KubeJS scripting workflow. Automatic startup validation catches misconfigured slots or item IDs early, cutting down debugging time and making complex accessory systems much easier to design and maintain.
- For Players: Brings richer, more tactile RPG and adventure gameplay directly into Minecraft. Players gain responsive active skills, stealth and aggro playstyles, clear visual feedback (private enemy outlines, 3D beams, slot badges/bars, and live dynamic tooltips), and expressive cosmetic gear that never competes with regular armor slots—all while keeping performance lightweight and shader packs running smoothly.
Requirements
- Minecraft:
26.1.2(Java 25) - Mod Loader: NeoForge (
26.1.2.130) - Required Mods: KubeJS (
26.1.2-8.0.8), Rhino (2101.2.8-build.91), Curios (15.0.0+26.1.2), and Better Advanced Tooltips (runtime dependency for KubeJS on dedicated servers)
KubeCurios
KubeCurios 是一款面向 Minecraft 26.1.2(NeoForge) 的轻量级联动模组,旨在打通 KubeJS 与 Curios。它让整合包作者和开发者能够直接在 KubeJS 启动脚本中创建并高度定制功能丰富的 Curios 饰品,无需依赖 ServerEvents.tags,也无需单独编写 Java 模组。
项目提供的特色
- 无 Tag 依赖的饰品注册与白名单管理:通过
kubecurios:curio物品类型与.slot(...)直接声明饰品及适用槽位;配合kubecurios:whitelist验证器,既可实现严格白名单,也可与现有标签规则共存,不会改写原有槽位。还支持通过CuriosWhitelist.allow(...)将原版或其他模组物品加入指定槽位并保留其原有行为,同时在服务器启动时自动执行配置校验与排错提示。 - 属性加成与穿戴生命周期回调:支持为饰品添加仅在功能槽位生效的 Curios 属性加成(支持
add_value、add_multiplied_base、add_multiplied_total),可选择隐藏自动生成的属性提示,并提供onEquip/onUnequip穿戴与卸下回调以及饰品状态查询工具。 - 战斗机制与主动技能系统:支持受击触发命令(可配置冷却、执行身份与触发概率)、受伤/造伤倍率及特定伤害类型抗性调整、直接护甲与韧性加成、可复用的命名脚本效果(
CurioScripts.define),以及默认绑定V键的主动技能系统。 - 潜行、仇恨与生物交互控制:可调整敌对怪物的察觉距离、激怒范围内中立生物、让特定敌怪忽略佩戴者,并支持在服务端脚本中直接控制生物仇恨目标。
- 外观渲染、光影兼容特效与动态界面:支持不占用原版装备格的盔甲层外观渲染与 Curios 原生 3D 模型骨骼挂点渲染;内置单玩家私有的彩色生物描边、兼容 Iris 光影的 3D 光束特效、物品栏槽位装饰(发光、角标、进度条)以及动态/按键展开提示文本。全程不引入自定义 GLSL 着色器或 FBO,保持轻量与完整光影兼容性。
这些功能如何影响用户体验
- 对整合包作者与开发者而言:大幅降低了在整合包中开发定制饰品的门槛。无需维护繁琐的标签数据包或编写 Java 代码,通过简洁统一的 KubeJS 脚本即可快速迭代复杂饰品;内置的启动校验机制还能第一时间暴露槽位或物品 ID 配置问题,显著减少排错成本。
- 对玩家而言:带来了更具深度与沉浸感的装备体验。玩家不仅能体验主动技能、潜行控仇等多样化战斗流派,还能通过私有敌怪高亮、3D 光束、槽位状态指示器与实时动态提示直观掌握装备状态;外观饰品与常规护甲互不冲突,且在开启光影时依然保持流畅稳定的帧率表现。
运行环境要求
- Minecraft:
26.1.2(Java 25) - 模组加载器:NeoForge(
26.1.2.130) - 前置模组:KubeJS(
26.1.2-8.0.8)、Rhino(2101.2.8-build.91)、Curios(15.0.0+26.1.2)以及 Better Advanced Tooltips(专用服务器运行 KubeJS 所需)