[HELP] Procedure that: Kills ridden entity when rider dies

Started by Red-Eyed_Fairace on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[HELP] Procedure that: Kills ridden entity when rider dies

Same as Title, I needed it for my Titans mod as the Hitbox bug is from vanilla (Giant zombies have it) And the only way to properly fix it is to mojang updates how hitboxes work, so to make it simple for my mod, I'd like to make a nape system using rider and ridden, but I need help that makes the ridden entity dies when the rider dies.

Can anyone provide a guide for it?