Pig should be controllable without carrot

Discussion in 'Plugin Development' started by Metal Julien, Feb 24, 2013.

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

    Metal Julien

    Hi, is it possible to controll a pig without a carrot on a stick? I have no idea how to start :S
     
  2. Offline

    gamerzap

    Unless there is a way to trick it into thinking the player is holding a carrot on a stick, I think you would have to override it's AI.
     
  3. Offline

    Metal Julien

  4. By using craftbukkit or nms classes i think you can ovverride the pathfinder id dynamically with the players item in hand. But nms classes are BAD. So i wouldnt reccomend it. Alternatively try setting the pigs velocity in the correct direction.
     
Thread Status:
Not open for further replies.

Share This Page