1

On our Pocket Edition skygrid, we found a Monster Spawner that spawns villagers. Now that we have all the villagers we need, we can't seem to disable the spawner. We don't want to destroy it. However, it does not seem to be able to be disabled.

Is there something I'm missing? How do I disable the villager spawner?

  • The only way to do this that I can think of is building a huge block around the spawner, so that the mobs will have nowhere to spawn on. Or if you're feeling a bit evil, you can place lava or cactus around the spawner so that the villagers do spawn, but get instantly killed. – Quijibo Jun 23 '19 at 17:44
  • @Quijibo We would have to move the already spawned villagers somewhere else. How big does the block have to be? – Blake Leonard Jun 23 '19 at 17:48
  • I'd say about 8 blocks into each side, which unfortunately is a lot. – Quijibo Jun 24 '19 at 2:57
1

All spawners have a default Spawn Range (emphasis mine):

SpawnRange: The radius around which the spawner attempts to place mobs randomly. The spawn area is square, includes the block the spawner is in, and is centered around the spawner's x,z coordinates - not the spawner itself. It is 2 blocks high, centered around the spawner's y coordinate (its bottom), allowing mobs to spawn as high as its top surface and as low as 1 block below its bottom surface. Vertical spawn coordinates are integers, while horizontal coordinates are floating point and weighted towards values near the spawner itself. Default value is 4.

In this instance, since light levels do not affect its ability to spawn mobs, you can instead surround it with solid blocks, so that mobs cannot spawn.

Alternatively (as Bern Gerrits has already pointed out), all spawners have a mob limit - if mobs congregate within range of the spawner, the spawner will automatically disable itself (emphasis mine):

MaxNearbyEntities: Overrides the maximum number of nearby (within a box of spawnrange*2+1 x spawnrange*2+1 x 8 centered around the spawner block) entities whose IDs match this spawner's entity ID. Note that this is relative to a mob's hitbox, not their physical position. Also note that all entities within all chunk sections (16x16x16 cubes) overlapped by this box are tested for their ID and hitbox overlap, rather than just entities which are within the box, meaning a large amount of entities outside the box (or within it, of course) can cause substantial lag.

This is why most mob farms will create a pit for the mobs to fall into, so that mobs will immediately fall out of range of the spawner, therefore creating the potential to spawn more asap. In your instance, trapping them in this area will force the spawner to shut down once it reaches its cap, if you trap the mobs in this area.

Source

Alternatively, you could potentially create a "killing floor", to instead just kill any and all mobs that come form the spawner, by placing lava on the floor, etc. This will mean that the spawner never shuts off, but the mob count never grows.

| improve this answer | |
  • TL;DR: either keep 6 villagers very close to the spawner at all times, or make a massive (5x5x5?) block around the spawner. – Blake Leonard Jun 25 '19 at 18:34
2

I seem to remember that the spawners have a spawn limit, so if you just keep that amount of villagers close to the spawner, no more will spawn.

| improve this answer | |
-1

There is no way of disabling a monster spawner Without destroying it. However You Should be able to Make it so that no villagers Could ever spawn And The way to do that is to make sure there are no valid spawning spaces and to make it so that there is no spawning spaces make sure that there is no valid spawning space, that is 1×2×1(x*y*z) Air blocks in the spawning diameter of the spawner which is a 7×9×7 space with the Spawner in the middle.

the simplest way to make sure no villagers can ever spawn is to fill that 7×9×7 space with blocks. to do that build the outer border so that the air blocks between the border and the spawner are 2 to the four horizontal directions (-x,+x,-z,+z) and 3 in the Up and down directions (-y,+y) and then fill the rest of the air with blocks like you would filling in say the floor of your house or the holes of creeper explosions

| improve this answer | |

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.