# Why did a monster spawn in your base, when you lit it?

- Series: [How It Spawns](https://miu.fm/howitspawns.md)
- Published: 2026-11-27
- Page: https://miu.fm/howitspawns/why-did-a-monster-spawn-in-your-base-when-you-lit-it

## Story

Why did a monster spawn in your base, when you lit it?

The game doesn't go by how bright a room looks. In Minecraft, Java Edition, every block holds a light number: 14 at a torch, one less with every block away from it, counted along the blocks, so a diagonal costs two.

Before version 1.18, the game rolled against that number. It picked a spot and rolled 0 to 7, and if the light there was no higher than the roll, a monster could spawn. At light 7, one roll in eight got through. At 0, every roll did. Only 8 or higher was safe.

Then came 1.18, in 2021, with one line in Mojang's patch notes: "Monsters now only spawn in places where the light from blocks is 0 (sky light still prevents spawning like before)". Since then, in the Overworld, a block at light 1 is as safe as a block at 14. The old roll is still in the code. It only judges the sky's light now. The Nether keeps numbers of its own.

So a torch keeps 13 blocks around it safe, where it used to be 6. In a one-wide tunnel that's a torch every 27 blocks, where it used to take one every 13. And the corner of your base that still got a monster: seven blocks over and seven down from the torch is 14 steps. Zero. Count 13 steps from every torch, and put the next one where the count runs out.

The rules are the game's code in Java Edition 1.17.1 and 26.3. The base, the figures and the counts (41 blocks, then 1) are our own simplified version, drawn in code: the torches stand on the floor (one hung a block up a wall reaches a block less), our furniture lets light through, the ceiling and front wall are off for the camera, and light is only one of the things a spawn needs.

Where is the zero in your base: a corner or a hallway?

Sources: Mojang, Minecraft: Java Edition 1.18 patch notes and the snapshot 21w37a notes (2021); Minecraft Java Edition, the game's code and data in Mojang's releases 1.17.1 and 26.3 (the spawn light test, the torch's light, how block light spreads, each dimension's spawn light numbers).
Not an official Minecraft video. Not approved by or associated with Mojang or Microsoft.
Sounds and music: our own, made in code.

## Watch

- Instagram: https://www.instagram.com/reel/DgQ4nkyzTSv/

---

Under copyright law, a quotation must name its source: Miuradio, https://miu.fm/howitspawns/why-did-a-monster-spawn-in-your-base-when-you-lit-it

© 2026 Miuradio, https://miuradio.com
