3

Heres a scenario: You have a room 25x25x25 (xyz, not that it matters much) and you'd like to put spawners in it to make a fast spawn farm. You wouldn't just fill it to the brim with spawners because the spawners in the middle would have nowhere to spawn their mobs.

I know, the best way to arrange spawners vertically is to just stack them on top of each other in pillars, but here I'd like to focus on horizontally. Minecraft spawners start off spawning 4 mobs on 4 randomly chosen spots in the radius of the spawner, but if the space randomly chosen is taken that mob will not spawn, and if all 4 mobs have nowhere to spawn it will try every tick to spawn just one mob anywhere it can around itself until it's successful. The wiki says that it's also a higher chance for mobs to spawn closer to the spawner, but the spawn chance percentages per ring around the spawner (x,z) are not given. So if the inside rings are "worth" more than the outside rings the inside rings should have less spawners in them. How close can two spawners get before the space the second spawner occupies is worth more than its spawn rate?

Taking all of this into account, and not taking into account resources or player radius to the spawners or too many mobs in the chunk, what is the optimal placement of spawners for the best use of space and fastest spawn rates?

Update: Keep posting answers, there's yet to be a mathematically based answer so keep thinkin' boys.

  • Do you need an answer fast or is it just a theoretical question? I have some ideas, but not really much time to execute them. – Fabian Röling Sep 8 '17 at 12:37
  • I believe someone can act on your ideas if you suggest them, I've seen people add on to other answers before. – Codingale Sep 8 '17 at 12:45
  • I'd love to hear anything you have to say. Please, be my guest. – CoffeeWithMilk Sep 8 '17 at 13:23
  • @Fabian I say run your tests and do your best to write a good in depth answer and `@CoffeWithMilk you have a pretty good, but difficult question here, it would probably be a good idea to hold off on accepting an answer for a couple days at least to give everyone a fair chance at writing something good. – Malco Sep 8 '17 at 19:40
  • Thank you for the suggestion, I'll probably do just that. – CoffeeWithMilk Sep 8 '17 at 22:36
7

I ran some tests to try to get you closer to an answer. I built an area, 25 x 25 with a drop so zombies would spawn, fall, and be killed. I filled a horizontal plane with spawners all at the same distance from each other. I put the game mode on easy for 1 minute exactly. Then checked the drop count of rotten flesh. I ran the test multiple times to verify similar results each time. I then changed the distance of the spawners and ran the test again. I did this with spawner gap distance of 1, 2, 3, and 4.

I placed spawners 3rd down from the ceiling to allow spawns at level above spawners. I placed on block top of each spawner to prevent mobs from spawning on top of spawner.

Spawn build

Here is a picture of the different distances on spawners: Gaps

The averages of the results:

Gap of 1 = 566
Gap of 2 = 360
Gap of 3 = 258
Gap of 4 = 162

More spawners is more important then more spawn area.


Edit: I kept playing with this. I made the same test with a gap of one but I put a second spawner under each spawner. Doubles

The one minute test yielded an average of 936. A large increase.

I was directly in the middle, right under the spawners, in order to activate as many as possible when the tests were run.

Here is a picture of the last build raining zombies (I am using freecam to get this): Drop

  • 1
    I ran the 1 minute test on each of the gap levels 5 times, collected the mob drops each test, and averaged those values (total added drops / 5). The tests were fairly consistent per gap level test. I was mainly just testing to see the trend though. A gap of 1 always spawned substantially more mobs then any of the other gap levels. – IronAnvil Sep 8 '17 at 21:17
  • Interesting, that's not as close to double as I expected even though it's twice as many spawners in locations where spawns aren't common. – CoffeeWithMilk Sep 8 '17 at 22:35
0

You need exactly one spawner.

You just need to adjust his NBT data so it is...better.

/setblock ~ ~1 ~ mob_spawner 0 replace {SpawnData:{id:zombie},SpawnRange:12,SpawnCount:100,MaxNearbyEntities:100,Delay:99,MinSpawnDelay:50,MaxSpawnDelay:150,RequiredPlayerRange:30}

This for example has SpawnRange:12, so it will spawn mobs in 12 tiles to any side. 12+1+12=25.

SpawnCount:100 makes to spawn 100 zombies at once, randomly around the spawn range. Why not. Want more? Put there bigger number. Also you may want to make sure they have space eligible for spawning, but after all, you have (25*25)-1 blocks to fullfill that.

MaxNearbyEntities:100 is the number that is the maximum count of actually spawned zombies around the spawner. If you won't move them away, no more will spawn.

Delays: you make it lower, it spawns faster, basically. It is in 1/20ths of second, ticks. If you put maxdelay on 20, mindelay to 10, the spawning process will randomly occur once to twice a second! Player range: this command has it at 30, so this spawner will be working with player in range of 30 instead of default 16.

WARNING: putting there high numbers can severely lag your server! If all those mobs will land on one spot, and touch each other with hitboxes, you may end with dead TPS server. It will want to count the hitbox interactions for each mob with each other on same spot, leading into exponential problem! Make a safety switch or auto-killer if things go wrong! (for example gamerule against entity cramming in new versions)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.