Solved setDelay() values

Discussion in 'Spigot Plugin Development' started by GB_6, May 5, 2017.

  1. Hello fellow devs, does anyone know what the default value is for the delay and would halving that value cause that spawner to spawn twice as fast?
     
  2. From the minecraft wiki: 10 to 39.95 seconds, which would be around 40-160 ticks.
     
  3. setDelay method does not change monster spawning rate. Just change the delay of the first mob spawned by the spawner, there is now way right now to change spawn rate using the api. You need to use NSM, don't know how to do it though (You need to change NBT Tag of the spawner i think)
     
  4. Cancel mob spawner spawning till the required delay was reached?
     
  5. Thank you that really clears things up, I will look into NBT I guess
     
  6. Do not take my word as gold, since i al not sure how to do it. Maybe google is your friend this time, who knows? (Mark the thread ad solved if everything is OK)