Started by
PokePika__10339__
on
Topic category: Help with MCreator software
I would like the entity to run away but because its a cacti mob to deal damage on the player, but whenever I try to make it deal the player it damages the mob instead. I have it so it uses instant damage but I only want to deal half a heart. Help!
You can use the 'When entity is hurt' trigger to make a procedure that deals 1 damage (half a heart) to the sourceentity, which should (?) be the player. I haven't actually tested this, but try it and see if it works.
@MILLIMEDIA what do you mean by sourceentity, how do I do that?
Lol I suck at this XD
In the "Minecraft Components" section in the procedure, you can replace the event/target entity in the block with sourceentity.