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

Jester's Spell Framework Team

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

More from JesterCorp