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

Started by DerERESKIGAL on Sat, 04/17/2021 - 06:43

Topic category: Help with modding (Java Edition)

Last seen on 19:09, 17. Apr 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is it possible to write a function that changes damage immunities for certain types of mobs?
Sat, 04/17/2021 - 06:43

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?