SpellEngine 是一个库模组(也称为 API),允许开发者使用它来创建魔法咒语,为玩家提供一套完整的施法系统,包括法术书、视觉效果和武器集成。
? 安装
? 强烈建议通过 Modrinth 应用 进行安装,以自动解析所有所需的模组。
必备依赖
在 Fabric 加载器上额外需要:
- Fabric API
- 槽位模组:Trinkets
在 NeoForge 加载器上额外需要:
- 槽位模组:Curios API
⭐️ 基于 Spell Engine 制作的内容
? 合作伙伴制作
? 内置内容
?️ 武器技能 ?

探索各种近战攻击技能,每种技能都针对特定的武器类型设计,并具有独特功能:
- 详细的碰撞检测
- 动量与滑动效果
- 精美的动画
RPG Series 系列的模组默认已分配这些技能。
根据物品 ID 或物品标签归属,自动分配给第三方模组及原版武器。(配置文件:config/spell_engine/weapon_fallback.json)
?️ API 功能
数据驱动的 API
- ?️ 法术可分配给任意武器(数据驱动,自动兼容武器)
- ? 法术伤害基于 Spell Power 实体属性计算
- ✍️ 使用 JSON 格式定义法术,支持热重载和网络同步
- ? 法术容器系统,支持代理模式、装备槽位和动态法术解析
- ? 通用模式匹配,适用于所有法术属性的标签、正则表达式和精确匹配
- ?️ 为模组开发者提供程序化法术生成功能,包含 SpellBuilder 和 SpellGenerator
- ⚙️ 法术具备一套全面的机械行为:
- 法术类型:主动(施放)、被动(触发)、修饰符(修改其他法术)
- 施法模式:瞬时、蓄力、引导,支持可配置的加速效果
- 触发系统:14+ 种触发类型(近战、箭矢、法术、伤害、闪避、翻滚等),支持条件逻辑
- 目标选择:瞄准、光束、区域、施法者、无、从触发器获取——支持上限、条件和基于生命值的限制
- 投射方式:直接、投射物、陨石、云团、发射箭矢、储藏效果、自定义——支持延迟和多位置放置
- 投射物特性:追踪、跳弹、反弹、穿透、连锁反应、发散、自定义碰撞箱
- 命中效果:伤害、治疗、状态效果、火焰、传送、生成、冷却、仇恨、自定义
- 条件逻辑:目标修饰符、命中过滤器、概率执行、实体类型条件
- 消耗系统:精力、物品/符文、冷却时间、耐久度、状态效果消耗,支持批量处理
- 装备套装:套装奖励提供法术、属性和特殊能力
精美的音频与视觉效果
- ? 高级音效系统:施法开始/循环、释放、命中、飞行声音,支持随机化
- ✨ 复杂的粒子系统,支持形状、跟随实体、缩放和自定义魔法粒子
- ? 投射物、状态效果和法术云团的自定义物品/方块模型,支持 BlockBench
- ? 玩家在所有施法阶段拥有动画,支持音高控制和远程武器动画
- ? 集成动态光照(LambDynamicLights)以实现魔法照明效果
- ? 可定制的光束渲染,支持颜色、纹理、宽度和流动效果
- ? 区域效果可视化,包含地面指示器和范围缩放的粒子
游戏内功能
- ? HUD 上可见的法术选择和施法界面(完全由玩家配置)
- ? 便利性功能:自动施法释放、客户端预测、智能目标选择
- ⛓️ 法术绑定台,用于将法术添加到武器并制作法术书
- ? 法术卷轴系统,支持创造模式标签页生成和地牢战利品集成
- ? 装备集成:法术书、饰品槽位(Trinkets/Accessories)、自动武器检测
- ⚡ 法术无限附魔,支持可配置的物品标签
- ? 命令:
/spell_cooldowns用于服务器管理和调试 - ? 高级战利品系统,通过
spell_bind_randomly函数实现动态法术分配
开发者与模组集成
- ? 广泛的模组兼容性:Better Combat、Combat Roll、FTB Teams、Shoulder Surfing 等
- ? 全面的事件系统,涵盖法术施放、治疗和投射物生命周期
- ?️ 支持注册自定义投递方式和命中效果的处理器
- ? 实体谓词系统,用于复杂的目标选择条件
- ? 性能优化:批量处理、调度、客户端预测
- ? 数据生成框架,用于程序化创建和验证法术
- ? 多平台支持(Fabric & NeoForge),提供统一 API
SpellEngine is library mod (also known as an API) that lets developers create magic spells using, providing players with a complete spell-casting system including spell books, visual effects, and weapon integration.
? Installation
? Installation via Modrinth app is strongly recommended, to automatically resolve all required mods.
Required
Additionally on Fabric:
- Fabric API
- slot mod: Trinkets
Additionally on NeoForge:
- slot mod: Curios API
⭐️ Content made with Spell Engine
? Made by partners
? Built-in content
?️ Weapon skills ?

Explore a variety of melee attack skills, each of them designed for a specific weapon type, with unique features:
- detailed collision detection
- momentum and sliding
- fancy animations
RPG Series content mods come with these skills assigned by default.
Automatically assigned to third-party and vanilla weapons, based on item id or item tag membership. (Config file: config/spell_engine/weapon_fallback.json)
?️ API Features
Data driven API
- ?️ Spells can be assigned to any weapon (data driven with automatic weapon compatibility)
- ? Spells deal damage based on Spell Power entity attributes
- ✍️ Spells defined in JSON format with hot-reloading and network synchronization
- ? Spell Container System with proxy mode, equipment slots, and dynamic spell resolution
- ? Universal pattern matching for tags, regex, and exact matches across all spell properties
- ?️ Programmatic spell generation with SpellBuilder and SpellGenerator for mod developers
- ⚙️ Spells have a comprehensive set of mechanical behaviours:
- Spell Types: Active (casted), Passive (triggered), Modifier (spell-modifying)
- Cast Modes: Instant, charged, channeled, with configurable haste effects
- Trigger System: 14+ trigger types (melee, arrow, spell, damage, evasion, roll, etc.) with conditional logic
- Targeting: Aim, Beam, Area, Caster, None, FromTrigger - with caps, conditions, and health-based limits
- Delivery: Direct, Projectile, Meteor, Cloud, ShootArrow, StashEffect, Custom - with delays and multi-placement
- Projectile Features: Homing, ricochet, bounce, pierce, chain reactions, divergence, custom hitboxes
- Impact Actions: Damage, Heal, StatusEffect, Fire, Teleport, Spawn, Cooldown, Aggro, Custom
- Conditional Logic: Target modifiers, impact filters, chance-based execution, entity type conditions
- Cost System: Exhaust, items/runes, cooldowns, durability, status effect consumption, with batching
- Equipment Sets: Set bonuses providing spells, attributes, and special abilities
Fancy audio and visuals
- ? Advanced sound system: casting start/loop, release, impact, travel sounds with randomization
- ✨ Sophisticated particle system with shapes, entity following, scaling, and custom magical particles
- ? Custom Item/Block models for projectiles, status effects, and spell clouds with BlockBench support
- ? Player animations at all spell stages with pitch control and ranged weapon animation support
- ? Dynamic lighting integration (LambDynamicLights) for magical illumination
- ? Customizable beam rendering with colors, textures, width, and flow effects
- ? Area effect visualization with ground indicators and range-scaled particles
In game features
- ? Spell selection and casting visible on HUD (fully player configurable)
- ? QoL features: automatic spell cast release, client prediction, smart targeting
- ⛓️ Spell Binding Table for adding spells to weapons and creating spell books
- ? Spell Scroll system with creative tab generation and dungeon loot integration
- ? Equipment integration: Spell books, trinket slots (Trinkets/Accessories), automatic weapon detection
- ⚡ Spell Infinity enchantment with configurable item tag support
- ? Commands:
/spell_cooldownsfor server administration and debugging - ? Advanced loot system with
spell_bind_randomlyfunction for dynamic spell assignment
Developer & Mod Integration
- ? Extensive mod compatibility: Better Combat, Combat Roll, FTB Teams, Shoulder Surfing, and more
- ? Comprehensive event system for spell casting, healing, and projectile lifecycle
- ?️ Custom handler registration for delivery methods and impact actions
- ? Entity predicate system for complex targeting conditions
- ? Performance optimizations: batching, scheduling, client-side prediction
- ? Data generation framework for programmatic spell creation and validation
- ? Multi-platform support (Fabric & NeoForge) with unified API
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Spell Engine
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
1.10.10+1.20.1
⚠️ 更新前请阅读此内容
本次发布是一次重大的技术重构,且不向后兼容。
- API 已重新设计,并未移除。 所有功能依然存在,但通过新的接口实现——基于 Spell Engine 0.9.x 构建的模组将无法与此版本配合使用。它们需要针对当前 API 进行更新和重新编译。
- 请成套统一更新。 Spell Engine 与所有 RPG Series 系列模组必须保持版本一致。混入旧版附加组件会导致启动时崩溃或游戏中行为异常。
- 法术书必须重新获取。 来自旧世界的法术书不再携带有效的法术数据。请重新制作,或在法术绑定台重新绑定其法术。
更新前请备份你的世界存档。
- 恢复了遗留的
LootHelper.configure重载方法,修复了基于旧版本构建的附加组件的问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成



















评论 0
登录后参与评分
还没有评论,来抢沙发吧