Chenge behaviour from specific mobs

Discussion in 'Plugin Development' started by Juancomaster1998, Jan 18, 2015.

Thread Status:
Not open for further replies.
  1. Hello!
    I know how to change a mob`s behaviour overrideing default class on bukkit. But how can I make it for change behaviour of specific mobs?
    Let`s say I`ve 3 skeletons, and I want first skeleton to have speed, the second one to follow pigs and the third one to hide from sun.
    Thanks ^^
     
  2. Offline

    Lolmewn

    Since you know how to override one, can't you create more classes, each having a different override?
     
  3. @Lolmewn
    I don`t know how to override one, I know how to override all only. So let`s say I add speed to a pig. I know how to change that speed for every pig on the server, but I want to know how to change it for only 1 pig.
     
Thread Status:
Not open for further replies.

Share This Page