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

Started by Red-Eyed_Fairace on Wed, 12/22/2021 - 01:52

Topic category: Help with modding (Java Edition)

Last seen on 09:54, 12. Jan 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
[HELP] Procedure that: Kills ridden entity when rider dies
Wed, 12/22/2021 - 01:52

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?