#how to make mobs mad at another or a player

1 messages · Page 1 of 1 (latest)

toxic garnet
#

im making a superpower datapack and Im making some1 with powers of death and that the undead mobs like him and I wanna make an ability when u recruit every undead mob near u and then they target some1 u targeted

quasi sinew
#

You basically have 2 options:

  1. throw a snowball with the owner set to the angry mob at the target mob. This can be a little difficult since motion doesn't quite always work. Some mobs like zombies also edit their angry at field back to the player so you'll have to do this repeatedly. The target range isn't always that great and snowballs will actually damage blazes.
  2. make a super small invisible dog ride the angry entity. If you set the owner to be the player, the dog will control the angry mob towards any mob the player attacked. The only main caviat here is that it doesn't work with a jokey and that you'll have to implement the attacking damage yourself (so creepers won't explode from themselves).

For my datapack I used the second method since it's easier to control.