Making a Mob regenerate HP and heal after killing another

Started by Vessel on Wed, 10/14/2020 - 07:10

Topic category: Help with modding (Java Edition)

Last seen on 13:32, 2. Jan 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Making a Mob regenerate HP and heal after killing another
Wed, 10/14/2020 - 07:10

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 04:27, 15. Sep 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 13:32, 2. Jan 2021
Joined Jul 2020
Points:

User statistics:

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

i haven't tried it yet but thanks!