how do i make it so player cant hurt entity's

Started by twistcharlie312 on

Topic category: Help with modding (Java Edition)

Last seen on 19:52, 14. Feb 2024
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make it so player cant hurt entity's

 

hello today I'm here to as about: 

 

how do I make it so the player can't hurt the entity's

 

Last seen on 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
give the player "weakness"…
Mon, 04/27/2020 - 07:19

give the player "weakness" potion effect

Last seen on 04:35, 17. Jan 2021
Joined Sep 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you want to code, let me…
Tue, 06/02/2020 - 13:33

If you want to code, let me know. Basically, though, we are going to subscribe to LivingDamageEvent. Then we will add more checks and such.