Check when mobs spawn

Discussion in 'Plugin Development' started by Woutske, Jan 15, 2011.

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

    Woutske

    Hello,

    Im making a mob that checks when a mob spawns, and its a creeper. It just prevents spawning. Is this posible to do? Ive made this for Hey0 but can not find something like this in Bukkit.

    Thanks in advance!
     
  2. Offline

    1337

    there is a mob spawn event but im not sure if u can check what mob it is look and the wiki for the hook
     
  3. Offline

    Woutske

    Ive searched but dont know wich is the good one :s
     
  4. Offline

    Frigid

    This feature has not been added yet but I've submitted some code to the bukkit team with such a feature. Hopefully they'll accept and incorporate it soon. Look for the "CREATURE_SPAWN" event. It's not implemented yet but it's in the javadoc.
     
Thread Status:
Not open for further replies.

Share This Page