Detect when player uses Totem

Started by DeathD84 on

Topic category: Help with modding (Java Edition)

Last seen on 21:26, 14. Apr 2024
Joined Jan 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detect when player uses Totem

Pretty simple, I want to detect when a player uses a totem of undying

 

Currently, I tried to use "Entity dies", but that doesn't trigger it, 

and I want to make sure the procedure only sets off on totem use (No way for procedure to set of falsely)

Last seen on 06:30, 13. Apr 2024
Joined Mar 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you could try using…
Sun, 03/26/2023 - 19:43

Maybe you could try using the "Before entity is hurt trigger" and then check the player's health and if they're holding a totem.

Last seen on 13:38, 16. Apr 2024
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was having this same…
Tue, 03/05/2024 - 17:56

I was having this same problem when I realized I could literally just use the "Entity uses a totem" trigger. Try it out! It's so simple.