Defend against /kill

Started by Mumuji on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Defend against /kill

So there are many mods with armor that can bypass the /kill command. I've made one which can bypass the damage in the void, however, I can still be /kill ed. Strangely, i actually do not die, it just shows the death screen and changes my player model to the normal death angle. Pressing respawn just puts me back where i died, not at my spawn. So, the problem appears to be how to prevent the death screen from appearing or have the game register that I didn't die. 

Is this possible through any means? I've tried searching, but to no avail. If you have any way that you know, please let me know.

Joined Apr 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just catch the event and…
Tue, 06/08/2021 - 08:50

Just catch the event and cancel it

 

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
would you please be so kind…
Tue, 06/08/2021 - 08:54

would you please be so kind as to tell me how to do it?

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Could you tell me
Tue, 06/08/2021 - 09:09

Could you tell me

Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thanks
Wed, 06/09/2021 - 11:55

thanks

Joined Aug 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what procedure would be…
Mon, 10/23/2023 - 23:39

what procedure would be required for this to work?