How would I remove Ender Pearl damage if the player has a certain armour set?

Started by JJ_007 on Sat, 08/01/2020 - 11:40

Topic category: Help with modding (Java Edition)

Last seen on 00:39, 26. Jun 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How would I remove Ender Pearl damage if the player has a certain armour set?
Sat, 08/01/2020 - 11:40

Hello,

I've created an armour set, and I want it to negate ender pearl damage, among other things. Is there any way I could do this, perhaps using custom code? Checking if the player has armour is a pretty simple process once I figure this out.

Thanks in advance

Last seen on 00:39, 26. Jun 2021
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Or even checking to see if a…
Sat, 08/01/2020 - 11:41

Or even checking to see if a player has thrown an ender pearl, and give them regeneration. That could be a possibility.