Iron's Spells:Mana Awakened

An add-on for Iron's Spells 'n Spellbooks that, via datapack integration, lets any mob—vanilla or introduced by other mods—cast spells.
Back to Files

spellmob-2.2.0-forge.jar

File namespellmob-2.2.0-forge.jar
Uploader
Gai_fan_404Gai_fan_404
Uploaded
Nov 14, 2026
Downloads
31
Size
181.3 KB
Mod Loaders
Forge
File ID
9608237
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:spellmob-1351667:9608237")

Learn more about Curse Maven

What's new

## 2.2.0 Update

### New: `onPhase` Sequence
- `onPhase`: defined on a variant and plays once when the variant is first entered.
- Can combine:
  - title/subtitle
  - sound effects
  - screen shake (default: 15 ticks, 16 blocks)
  - ground shockwave (`auto` school color or `#RRGGBB`)
  - knockback
  - immobilize/root and invincibility
  - summon reinforcements
  - health bar recolor/rename
  - weather and time
- During the sequence: movement is stopped, in-progress casting is canceled, and damage immunity is applied. After it ends: AI is restored and the new spell table is swapped in.
- Weather and time are disabled by default; enable them with `bosses.allowWeatherChange`.

### Pet Spell Selection
- `pets.spellSelection = smart`: pets choose spells intelligently:
  - close range: prioritize melee spells
  - long range: prioritize projectile spells
  - airborne targets: skip ground spells
  - same spell type: choose the highest level
- Set `pets.spellSelection = priority` to return to the old behavior.

### Other Changes
- Optional disabling of the vanilla attack goal (default `false`, meaning not disabled).
- Removed all built-in JSON files.

### Fixes
- **Pet kills now count for player kills**: when a pet lands the final blow, `requirePlayerKill` now resolves correctly.
- **Unknown keys are no longer silent**: logs `unknown key '...' was ignored`; check with `/spellmob validate`.
- **Sticky Boss phase fix**: after being healed back to full, a sticky Boss no longer resolves as phase one.

### Datapack Generator
- A datapack generator for this mod has been created; see the comments.

This mod has no additional files