the superpower of Invulnerability

Started by ilpro on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the superpower of Invulnerability
I want to create the superpower of invulnerability, which makes me totally immune to any damage, any negative effect and even immune to the /kill command, but I don't know how to do it, who can help me?
Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Summary:  Global Trigger:…
Tue, 02/18/2025 - 18:54

Summary: 

  1. Global Trigger: Entity Dies
  2. If Block: Is Event/Target entity a player or server player
  3. If Block: <your_indicator> == true(or 1 or...)
  4. Event: Cancel Global Trigger
  5. Voila! Invincibility

(<your_indicator> is what tells you the player has invincibility)