promotional bannermobile promotional banner

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 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

The Jester's Spell Framework Team

profile avatar
  • 1
    Followers
  • 4
    Projects
  • 5.9K
    Downloads

More from JesterCorp