Making a Mob regenerate HP and heal after killing another

Started by Vessel on

Topic category: Help with modding (Java Edition)

Last seen on 18:09, 7. Dec 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making a Mob regenerate HP and heal after killing another

So, is there a way to make mobs heal HP after killing another creature? Also, is there a way to make it so the mob can heal 1HP per second the whole time?

Last seen on 23:30, 25. Apr 2022
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Go to the "Triggers" tab and…
Tue, 11/10/2020 - 16:58

Go to the "Triggers" tab and make a new procedure with the "When this entity kills another one" trigger. Also, make a procedure for the regeneration with "On entity tick update".

Last seen on 18:09, 7. Dec 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i haven't tried it yet but…
Thu, 12/31/2020 - 18:28

i haven't tried it yet but thanks!