Change spawners mob count

Discussion in 'Spigot Plugin Development' started by TheWackyTV, Apr 24, 2017.

  1. Hi.

    I am looking for a way to change the amount of mobs a spawner spawns. I've also tried to change the delay but the setDelay feature, doesn't seem to be working.

    What can I do?
  2. The setDelay method changes the time that passes before the first mob spawns when the spawner is placed. I think you might need to look at NMS and change the Tag of the block. I'm not really into NSM, so might have to ask for someone else. (Or just install PaperSpigot, it has an option for the mob spawner delay)
  3. You may use the SpawnerSpawnEvent.
  4. Ahh that makes sense. Yea I thought I might need to use NMS, although I would need some examples, as that's not my best point.
  5. Hmm.. would that work? As I am trying to merge spawners and then increase the mobs spawned.