← Назад к ресурсам

Mobbility [Addon: Spell Engine]

Gives mobs player spell-casting abilities for Spell Engine - cast spells with animations and cooldowns just like players.

Modrinth mobs

Описание

![Showcase](https://cdn.modrinth.com/data/Es8xro21/images/1a30601fe94fe70523d1a10b644df036b7512bd9.gif) ## Features - **Player-Like Spell Casting**: Mobs cast spells with animations and cooldowns, just like players - **Automatic Ability Detection**: Mobs with spell items automatically gain casting abilities on spawn - **Tag-Based AI**: Item tags determine wizard vs basic combat AI - **Class Presets**: Pre-configured loadouts spawn automatically (Archer, Assassin, Deadeye, War Archer, Warrior, Rogue, Fire Wizard, Arcane Wizard, Tundra Hunter, Wildling, Frozen Champion, Plaguebringer) ## How It Works When a mob spawns with Spell Engine items: 1. **Detection**: System checks for items with Spell Engine spells 2. **Tag Check**: Checks if item has wizard tags (staff/spellbook tags) 3. **AI Selection**: - Has wizard tags → Wizard AI (maintains distance, strafes) - No wizard tags → Basic AI (standard attack behavior) 4. **Behavior**: Mob uses appropriate AI based on item tags ## Wizard Tags Configure which items get wizard AI via tags in `config/mobbility/spell_engine.toml`: Default Tags ```toml [wizardAI] staffTags = ["wizards:wands", "irons_spellbooks:staff", "wizards:staves", "paladins:staves"] spellbookTags = ["curios:spellbook"] ``` Add custom tags to support items from other mods. ## Configuration Fully customizable via `config/mobbility/spell_engine.toml`: Combat Class Settings ```toml [combatClass] speedModifier = 1.0 attackIntervalMin = 60 attackIntervalMax = 120 useCooldowns = true preventFriendlyFire = true spellBlacklist = [] ``` Wizard Tags ```toml [wizardAI] staffTags = ["wizards:wands", "irons_spellbooks:staff", "wizards:staves", "paladins:staves"] spellbookTags = ["curios:spellbook"] ``` Class Presets ```toml [classPresets] enabled = true # Presets for Skeleton, Zombie, Husk, Stray, Drowned, Wither Skeleton (Archer, Assassin, Warrior, Rogue, Fire Wizard, Arcane Wizard, etc.) ``` ## Requirements - **Minecraft**: 1.20.1 - **Fabric Loader**: 0.15.11+ - **Mobbility [Core]**: Required core mod (Fabric version) - **Spell Engine**: The spell mod this addon integrates with - **Fzzy Config**: For configuration