Spawn Mob continuesly

Discussion in 'Plugin Development' started by DatCookiez, Mar 14, 2013.

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

    DatCookiez

    I am wanting to know how to spawn a ceratin mob a ceratin amount of times for a period of time in a set spawn area
     
  2. Offline

    gmjeb

    Try using this plugin. I believe it will help with your spawning problem, it has a fair amount of commands to set specific things about a spawners properties.
     
  3. You probably need to use the scheduler and runnable tasks.
    However runnable tasks should apparently not access the bukkit API so spawning mobs might be a little tricky.
    You should first define the area that mobs should spawn into, then create a task that runs every n ticks that calls a method in your plugin to spawn a mob in the area, perhaps randomly positioned.
     
  4. Offline

    DatCookiez

    Help with that?
     
Thread Status:
Not open for further replies.

Share This Page