跳到正文

Jester’s Spell Framework

作者:JesterCorp

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 skillshots
  • area_around_caster → aura effects
  • area_around_target → explosion on target
  • area_on_hit_position → impact AoE
  • self → self-cast

🧍 Target Filtering

Control who gets hit:

  • all
  • self
  • allies
  • enemies

🔍 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_target
  • ignite_target
  • knockback_target

🧪 Buffs & Debuffs

  • apply_mob_effect_target
  • remove_mob_effect_target
  • cleanse_target

❤️ Healing & Defense

  • heal_target
  • shield_target
  • remove_shield_target

🔵 Resource System (Mana)

  • resource_restore_target
  • resource_drain_target
  • resource_transfer_target
  • resource_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 的其他作品

查看全部 →