Is it possible to write a function that changes damage immunities for certain types of mobs?

Started by DerERESKIGAL on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to write a function that changes damage immunities for certain types of mobs?

For example, is it possible to write a function where the Instant Damage and Wither effects can be applied to all hostile mobs with 100% potency?