Triggering an Entity to Panic

Discussion in 'Plugin Development' started by JTGaming2012, Jan 6, 2015.

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

    JTGaming2012

    Hello there, I am going to get straight to the point so what I need to do is make an entity panic, in the same way they do when they are punched. I have no clue what I am doing so I would appreciate some help please.

    I have made a custom entity, using Jacek's tutorial: http://bukkit.org/threads/tutorial-how-to-customize-the-behaviour-of-a-mob-or-entity.54547/

    And I have also boosted the speed at which they run around when panicing. Now how can I cause them to panic without having to punch them? This is a sheep we are talking about by the way!

    Thanks in advance
     
  2. Offline

    JTGaming2012

Thread Status:
Not open for further replies.

Share This Page