totem of undying procedure

Started by Dragfall_Luard on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
totem of undying procedure

how do i make a "custom totem of undying"

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, what you need to do is: …
Thu, 11/07/2024 - 10:43

No, what you need to do is: 

When entity dies
If: "get [item in main hand of {target entity} = {your totem}]"
then: "Cancel event trigger (note: this can be found in the advanced features tab)
Set health of {target entity} to [get max health of {target entity}]
Provide whatever effects you want
Play totem animation {your totem}
spawn [number] particles of type [totem] at {x y z}"

Hope that helps!

PS, totem animation doesn't fully work in latest versions of MCreator.