promotional bannermobile promotional banner
premium banner
Configure custom resistances and vulnerabilities for mobs to different spell schools

Description


Spell Vulnerabilities
is lightweight Fabric mod that gives you complete control over how each mob in your world resists or succumbs to different schools of magic spells. 
With just a few lines in a simple JSON config, you can tune every creature’s Fire, Frost, Arcane, Healing, Lightning (and more!) affinities.

Key Features:

Per-Entity Tuning
Define resistances and vulnerabilities on a per-mob basis or a list of mobs that will share the same modifiers
(can also include entities from other mods). 
Want Zombies to take 75% less Soul damage but 190% more Arcane damage? Easy:

 "entities": [
        "minecraft:zombie"
      ],
      "modifiers": {
        "spell_power:soul": -0.75,
        "spell_power:arcane": 1.9
      }


All Major Spell Schools

Support for any spell_power:<school> attribute from Spell Engine & Spell Power Attributes:

spell_power:air
spell_power:arcane
spell_power:earth
spell_power:fire
spell_power:frost
spell_power:healing
spell_power:lightning
spell_power:soul
spell_power:water

 

Configurable
Everything loads at startup from config/spell_vulnerabilities.json. —just edit the JSON and restart.
Come with 2 premade entries for the Blaze, Ghast and Piglin (25% fire spell resistance, 50% frost spell vulnerability) 
and the Enderman (75% arcane spell resistance):

{
  "enable_button": true,
  "button_x": 16,
  "button_y": 4,
  "vulnerabilities": [
    {
      "entities": [
        "minecraft:blaze",
        "minecraft:ghast",
        "minecraft:piglin"
      ],
      "modifiers": {
        "spell_power:fire": -0.25,
        "spell_power:frost": 0.5
      }
    },
    {
      "entities": [
        "minecraft:enderman"
      ],
      "modifiers": {
        "spell_power:arcane": -0.75
      }
    }
  ]
}


Stylized List
A new button in the player inventory that open a new screen with neat list of all the entries from the config, come with a search bar to search by entity/mobs name!



Require
Spell Engine & Spell Power Attributes [Fabric]

Recommended with Wizards (RPG Series), Elemental Wizards (More RPG Classes) and other mods that use spell power attributes.
To get entities/mobs id recommend to use Data ID Dumper [the id's will be in the entities_ids file]


This mod is just one simple, short mixin, screen class and gson config