Jester’s Spell Framework
This is the framework for future mods. It is a modular spell system for custom spells and abilities.
介绍
💀 What is this?
Jester’s Spell Framework is a modular, JSON-based spell system that lets you create complex abilities without writing Java code.
Build spells using:
- 🎯 targeting logic
- 🧍 filters (ally / enemy / self)
- 🔍 conditions (health, mana, effects)
- 💥 chained and conditional effects
All through simple JSON files.
⚙️ Core Philosophy
Spells should be data, not code.
✔ No recompiling
✔ Easy balancing
✔ Modpack-friendly
✔ Expandable
🧠 Features
🎯 Advanced Targeting
forward_box→ directional skillshotsarea_around_caster→ aura effectsarea_around_target→ explosion on targetarea_on_hit_position→ impact AoEself→ self-cast
🧍 Target Filtering
Control who gets hit:
allselfalliesenemies
🔍 Target Predicates (Smart Targeting)
Only affect entities that match conditions:
- ❤️ health thresholds
- 🔵 mana thresholds
- 🧪 has / missing effects
- 🧍 player-only checks
- 🔥 on-fire checks
Examples:
- Heal only low HP allies
- Buff only players missing haste
- Damage only burning enemies
💥 Effects System
Mix multiple effects into one spell:
⚔️ Damage & Combat
damage_targetignite_targetknockback_target
🧪 Buffs & Debuffs
apply_mob_effect_targetremove_mob_effect_targetcleanse_target
❤️ Healing & Defense
heal_targetshield_targetremove_shield_target
🔵 Resource System (Mana)
resource_restore_targetresource_drain_targetresource_transfer_targetresource_leech_target
🧩 Conditional Effects
Run effects only when conditions are met:
“type”: “conditional_effect”,
“conditions”: […],
“effects”: […]
}
Examples:
- 💀 Execute enemies below 30% HP
- 🔵 Restore mana only if low
- 🧪 Apply buffs only if missing
🔗 Nested Effects
- Chain multiple effects
- Build layered spells
- Combine AoE + conditions + multi-effects
🧪 Built-in Validation
- ❌ Invalid configs are caught at load
- ⚠️ Clear error messages
- 🛡 Prevents broken spells
🛡️ Shield System
Uses absorption hearts as shields:
- ➕
shield_target→ add shield - ➖
remove_shield_target→ remove shield
🧰 Included Tooling
🖥️ HTML Spell Builder
Create spells visually:
✔ Checkboxes for effects
✔ Input fields for values
✔ Built-in validation structure
✔ JSON preview
✔ 📥 Download ready-to-use files
Perfect for:
- modpack creators
- rapid iteration
- testing ideas
常见问题
Jester’s Spell Framework 支持哪些 Minecraft 版本?
Jester’s Spell Framework 支持 Minecraft Java 版 26.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Jester’s Spell Framework 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
JesterCorp 的其他作品
查看全部 →W.M.D (Weapons, Monsters, and Dungeons)
冒险、建造、机械动力
Eldermorne: Horror Survival
Horror Survival that forces you to go outside.
Jester’s Adventure Time
A relaxing RPG adventure through magic, machines, and discovery
评论
登录后评论和评分