mojira.dev
MCPE-142285

Spawners randomly stop working

skeleton generators not working in version 1.17.30 I made a farm with a skeleton generator, but when I updated to version 1.17.30 it stopped generating skeletons, although there is no lighting nearby and the difficulty is on hard

*Additional information from [~Auldrick]:*

Confirmed on Windows 10 1.17.34.
Steps to Reproduce:

  1. Download the attached file MCPE-142285 World.zip.

  2. Extract the contents (one folder) and move it to the com.mojang\minecraftWorlds folder in your Minecraft AppData folder.

  3. Restart Minecraft to cause the world to appear in the Worlds screen

  4. Open the world. Observe that the spawner is spawning skeletons.

  5. Go through the Nether portal, then return.

Observed Results: The spawner stops spawning new skeletons.
Expected Results: The spawner continues functioning normally.

Additional notes:
I tried several ways to make the spawner resume functioning.

  • Reloading the world fixes the problem.

  • Changing /gamerule mobspawning (false, then back to true) has no effect.

  • Changing /difficulty (Peaceful, then back to Hard}} has no effect.

  • Teleporting or flying away far enough to stop ticking at the spawner doesn't fix the problem. (Although I think this contradicts what some other people have said, I was not able to get the spawner to resume functioning by flying or teleporting away and back.)

Also, the issue is with the spawner block data, not just in the code. Once you have a spawner that has stopped working, you can place a second spawner a few blocks away, put a spawn egg in it, and it immediately starts spawning mobs.

Thanks to @unknown for the sample world!

Linked issues

BDS-15605 Spawner not spawning correctly Resolved BDS-16025 Spawner mobs counting towards mob cap Resolved BDS-16360 Spawner Resolved BDS-16537 Zombie Spawner not producing any zombies Resolved BDS-16596 Spawner randomly stops spawning skeletons Resolved

Attachments

Comments 69

Is the world set to Caves & Cliffs experimental?

César Aldair Guarneros Carvajal

Yes

I play on a realm. Since the 1.17.30 update my skeleton spawner stops spawning skeleton after around 20 minutes running fine. Happened to me 3 times while decorating the room. I tried going far enough to unload that chunk (first i went 7 chunks away, second time i went 300+ blocks away) and it didn't spawn any skeletons. BUT after logging off and relogging it started spawning again (I did that twice). It simply stops spawning them after running fine for a while.

I'm also having issues with spawners not working on realms. For some reason they will spawn for a few mins then completely stop spawning. It might be a realm bug. The spawning room is completely dark with no lights and not glass. Im standing inside the spawning room and nothing spawns at all. Its kinda random when it works. I don't know how to reproduce it but ever since 1.17.30 officially released spawners just straight up bug out.

I am experiencing what seems to be the same issue in a non-experimental world that I created soon after the release of 1.17. It's a single-player survival world set to hard difficulty.

59 more comments

I agree that your description of your problem sounds like a good match with this bug report. However, you may have noticed that a fix for this issue was implemented back in February, in 1.18. At least dozens of people with the problem were notified at the time, yet none of them objected to us closing the ticket as resolved and fixed. This is normally good evidence that the fix was successful, so now we have the question of why you seem to be the only one having this problem. Is it a reversion, a new problem that's coincidentally very similar, or perhaps something unique to your device? Please help us narrow down the problem by answering the following questions:

  1. What platform are you playing on?

  2. When was this world created (either game version or date is fine)?

  3. When did you first discover the spawner?

  4. How long ago did you build the XP farm around it?

  5. Does the issue happen sporadically or every time you load the world now?

  6. Can you reproduce the issue with zero resource and behavior packs installed (including in Global Resources)?

  7. The action of a mob spawner is conditional on several things, such as the relative position of the player, the number of mobs of that type within a certain range of the spawner, and (if I'm not mistaken) mob caps. There's a list of them in the Spawner wiki article. Have you checked all these conditions?

Philip Lovelace

Thanks for responding so quickly.

  1. Windows 10 PC

  2. Created last weekend, July 1st or 2nd? v1.19.2

  3. First discovered the spawner on 7/4 or 7/5.

  4. Just finished the xp farm on 7/6

  5. It happens every time I load the world. Since I noticed the issue yesterday afternoon (7/7) the spawner has not worked at all, no matter how many times I've restarted MC or changed difficulty settings.

  6. This is a stock bedrock game. The only Resource/Behavior packs are Minecraft Textures (Global) and the Default behavior pack, which afaik can't be turned off.

  7. I have checked all the conditions. Like I said before, it WAS working under exactly the same set of conditions previously.

Philip Lovelace

Okay, I just noticed something weird. I went inside the spawning chamber and closed the (spruce) door behind me, and noticed that the light level doesn't change with the door closed. It's acting like the door is transparent with regard to light transmission.

When I broke the door and replaced it with dirt blocks, the light level dropped and they began spawning again.

I'm mystified by this, because I've always built xp farms this way, leaving a door for access.

If I leave the door and move the light source further away from the door, they do spawn normally.

So... I think it was just a lighting issue. But I could have sworn a spruce door would block that light.

I think the only thing that changed (that caused it to break) was that I was using glow vines for light, and the one closest to the door grew and spawned a new berry.

I also thought that doors were completely opaque, but the wiki says they're "partially transparent" and my experiments confirm it. So apparently you've solved your problem. You can probably just move the glowberry vine a few blocks (maximum of 4 needed) away from the door and eliminate the problem.

Philip Lovelace

Yep, that did it. Even after I bonemealed the vine to get some berries back, the spawner works fine. It was just that little bit too close before. Thanks!

[media]

César Aldair Guarneros Carvajal

(Unassigned)

643501

Confirmed

Multiple

iOS Safari 14.8

1.17.30, 1.17.34, 1.17.40, 1.17.41 Hotfix, 1.18.0, 1.18.2 Hotfix

1.18.10.20 Beta, 1.18.10

Retrieved