Wizard Mobs

Quick rating

Community listing page, reviews here may not be monitored by the author.

Wizard Mobs

No reviews yet

Mobs can now cast spells from Wizards (RPG Series)

Mod Loaders
Minecraft

About

Description

Allows mobs to use wands and staffs from Wizards (RPG Series) to cast spells, as well as giving undead mobs a chance to spawn with spellcasting equipment. (Equipment spawning can be toggled on/off in the config or overwritten via KubeJS)

Wizard Mob Behaviors

Spellcasting mobs cast spells from a distance but don't actively strafe players like bow-wielding skeletons. However, once the player gets close enough, mobs will switch from using spells to melee attacks, which are compatible with Better Mob Combat Neoforge Port. Mobs in the middle of spellcasting cannot move or cancel their spell, which can give players an opportunity to strike. 

Mobs using Holy or Water spells can heal allies as well as attack. These mobs prioritize healing themselves and allies over targetting the player, so it imperative to kill them first when dealing with a horde. Mobs using healing spells without the damage capibility will try to melee the player if there are no allies within healing range. 

Spell Tags

Mobs can be assigned spell schools with tags to ensure that they cast the spell from their assigned school when wielding staffs that offer a choice of spells. There are currently 7 tags that can be assigned to mobs:

  • wizardmobs:fire_wizard
  • wizardmobs:frost_wizard
  • wizardmobs:arcane_wizard
  • wizardmobs:holy_wizard
  • wizardmobs:water_wizard
  • wizardmobs:air_wizard
  • wizardmobs:earth_wizard

A Wizard Staff wielding zombie will always cast Pyroblast if assigned wizardmobs:fire_wizard over the Frost and Arcane spell options. If the mob doesn't have a specified tag or the staff that it wields does't offer the spell of choice, the mob will default to choosing a random spell out of its available options. For example, the KubeJS server script for assigning wizardmobs:fire_wizard is:

ServerEvents.tags('entity_type', event => {
  event.add('wizardmobs:fire_wizard', 'minecraft:zombie')
})

Alternatively, this can also be done via datapacks, in this case using the path data/wizardmobs/tags/entity_type/fire_wizard.json

{
  "replace": false,
  "values": [
    "minecraft:zombie"
  ]
}

Compatible with:

Planned Compatibility: