Damage Modifier for Item Enchantment

Summary

Adding damage modifiers for DAMAGE_ARTHROPODS, DAMAGE_UNDEAD, IMPALING

Usage

For example, if I create a mob with its type being skeleton to disguise as Steve, the enchantment Smite/DAMAGE_UNDEAD will have effect on it which "doesn't make sense" for the players. Adding a modifier for DAMAGE_UNDEAD = 0 will solve the problem.

Value

It let users to create more detailed mob

Priority

I would say it's a 6-7/10? It is not the most important thing to add, but once added, I believe many user can make use of it./

Implementation

For example, add the followings in the yml to make the mobs not take extra damage from item with the enchantment smite but with bane of arthropods.

DamageModifiers:

  • DAMAGE_UNDEAD 0
  • DAMAGE_ARTHROPODS 1

Thank you