Spell Engine

Spell Engine

šŸŖ„ Data driven magic library

4.4M downloads
Created Apr 9, 2026
by ZsoltMolnarrr

About

Environment: Client Environment: Server Discord

SpellEngine is library mod (also known as an API) that lets developers create magic spells using, providing players with a complete spell-casting system including spell books, visual effects, and weapon integration.

šŸ“¦ Installation

šŸŽ Installation via Modrinth app is strongly recommended, to automatically resolve all required mods.

Required

Additionally on Fabric:

Additionally on NeoForge:

ā­ļø Content made with Spell Engine

Archers Paladins Wizards Rogues Skill Tree Jewelry Relics Arsenal Armory

šŸ¤ Made by partners

Anarchy Mercenaries Oathsworn Archer Expansion Elemental Wizards Berserker Witcher Forcemaster Death Knights

šŸ“¦ Built-in content

šŸ—”ļø Weapon skills šŸŖ“

Weapon Skills

Explore a variety of melee attack skills, each of them designed for a specific weapon type, with unique features:

  • detailed collision detection
  • momentum and sliding
  • fancy animations

RPG Series content mods come with these skills assigned by default.

Automatically assigned to third-party and vanilla weapons, based on item id or item tag membership. (Config file: config/spell_engine/weapon_fallback.json)

šŸŖ„ļø API Features

Data driven API

  • šŸ—”ļø Spells can be assigned to any weapon (data driven with automatic weapon compatibility)
  • šŸ”® Spells deal damage based on Spell Power entity attributes
  • āœļø Spells defined in JSON format with hot-reloading and network synchronization
  • šŸ“¦ Spell Container System with proxy mode, equipment slots, and dynamic spell resolution
  • šŸ”„ Universal pattern matching for tags, regex, and exact matches across all spell properties
  • šŸ› ļø Programmatic spell generation with SpellBuilder and SpellGenerator for mod developers
  • āš™ļø Spells have a comprehensive set of mechanical behaviours:
    • Spell Types: Active (casted), Passive (triggered), Modifier (spell-modifying)
    • Cast Modes: Instant, charged, channeled, with configurable haste effects
    • Trigger System: 14+ trigger types (melee, arrow, spell, damage, evasion, roll, etc.) with conditional logic
    • Targeting: Aim, Beam, Area, Caster, None, FromTrigger - with caps, conditions, and health-based limits
    • Delivery: Direct, Projectile, Meteor, Cloud, ShootArrow, StashEffect, Custom - with delays and multi-placement
    • Projectile Features: Homing, ricochet, bounce, pierce, chain reactions, divergence, custom hitboxes
    • Impact Actions: Damage, Heal, StatusEffect, Fire, Teleport, Spawn, Cooldown, Aggro, Custom
    • Conditional Logic: Target modifiers, impact filters, chance-based execution, entity type conditions
    • Cost System: Exhaust, items/runes, cooldowns, durability, status effect consumption, with batching
    • Equipment Sets: Set bonuses providing spells, attributes, and special abilities

Fancy audio and visuals

  • šŸ”ˆ Advanced sound system: casting start/loop, release, impact, travel sounds with randomization
  • ✨ Sophisticated particle system with shapes, entity following, scaling, and custom magical particles
  • šŸŽØ Custom Item/Block models for projectiles, status effects, and spell clouds with BlockBench support
  • 🤸 Player animations at all spell stages with pitch control and ranged weapon animation support
  • šŸ’” Dynamic lighting integration (LambDynamicLights) for magical illumination
  • 🌈 Customizable beam rendering with colors, textures, width, and flow effects
  • šŸ“ Area effect visualization with ground indicators and range-scaled particles

In game features

  • šŸ”§ Spell selection and casting visible on HUD (fully player configurable)
  • 😌 QoL features: automatic spell cast release, client prediction, smart targeting
  • ā›“ļø Spell Binding Table for adding spells to weapons and creating spell books
  • šŸ“œ Spell Scroll system with creative tab generation and dungeon loot integration
  • šŸŽ’ Equipment integration: Spell books, trinket slots (Trinkets/Accessories), automatic weapon detection
  • ⚔ Spell Infinity enchantment with configurable item tag support
  • šŸŽ® Commands: /spell_cooldowns for server administration and debugging
  • šŸ’° Advanced loot system with spell_bind_randomly function for dynamic spell assignment

Developer & Mod Integration

  • šŸ”Œ Extensive mod compatibility: Better Combat, Combat Roll, FTB Teams, Shoulder Surfing, and more
  • šŸ“Š Comprehensive event system for spell casting, healing, and projectile lifecycle
  • šŸ—ļø Custom handler registration for delivery methods and impact actions
  • šŸŽÆ Entity predicate system for complex targeting conditions
  • šŸ”§ Performance optimizations: batching, scheduling, client-side prediction
  • šŸ“ Data generation framework for programmatic spell creation and validation
  • 🌐 Multi-platform support (Fabric & NeoForge) with unified API

Versions

v1.9.6+1.21.1-neoforgeLatest
1.21, 1.21.1•neoforge•Mar 7, 2026

# 1.9.6 Hotfix: - Fixed `arrow context` not being cleaned up properly, causing Barrage skill to degrade ranged damage over (short) time

Download
v1.9.6+1.21.1-fabric
1.21, 1.21.1•fabric•Mar 7, 2026

# 1.9.6 Hotfix: - Fixed `arrow context` not being cleaned up properly, causing Barrage skill to degrade ranged damage over (short) time

Download
v1.9.5+1.21.1-neoforge
1.21, 1.21.1•neoforge•Mar 4, 2026

# 1.9.5 Functional changes: - Improved handling of number keys concurrently to vanilla item switching, fixes #153 API Changes: - Added new spell delivery method `AFFECT_ARROW` allowing passive spells to apply `arrow_perks` and impacts to any fired arrow

Download

Download

Download v1.9.6+1.21.1-neoforge

Minecraft: 1.21, 1.21.1

Loaders: neoforge

Tags

fabricneoforge1.19.21.201.20.11.211.21.1
Spell Engine - Orca Mods