How to make mobs fight other mobs

Discussion in 'Plugin Development' started by Mr. Sandwich, Aug 18, 2018.

Thread Status:
Not open for further replies.
  1. Offline

    Mr. Sandwich

    So I've been reading about it in Google but I didn't really find an answer for this, I want to code a mind control feature that will allow players to control mobs and make them attack whatever they attack and whatever that attacks them(like how wolves work). But I didn't find any way to do it, .setTarget(entity) doesn't seem to work on other mobs. Any help please?
     
  2. Offline

    ewrs

    Hey. I do not know how to do it, but there is an assumption. Try adding this mob to another team (scoreboard)
     
  3. Offline

    LaPiMoNsTeR

    You can try to modify Pathfinder Goals
     
  4. Offline

    Mr. Sandwich

    I'm not sure if I did it well but it didn't work
    what do you mean?
     
Thread Status:
Not open for further replies.

Share This Page