Making a Mob regenerate HP and heal after killing another

Started by Vessel on

Topic category: Help with Minecraft modding (Java Edition)

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?

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".

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!