๐ 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": [...]
}
"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

