Java & Bedrock 1.18โ€“1.21+

Mob Spawning & Despawn Sphere Visualizer (AFK Spot Calculator)

Interactive 2D elevation & top-down Canvas radar of Minecraft mob despawn spheres (24m deadzone, 32m movement, 128m despawn). Calculate optimal AFK height to despawn all caves.

๐Ÿ‘พ
๐Ÿ“ก Slot #5 ยท Mob Spawning & Despawn Sphere Radar
24m Deadzone ยท 32m Movement ยท 128m Despawn
โš™๏ธ Minecraft Edition & Simulation Distance
๐Ÿฐ Popular Farm Presets:
๐Ÿ‘ค AFK Player Position Coordinates of player head / eye level
๐Ÿ“ฆ Farm Dimensions & Vertical Bounds Spawning platforms elevation
PERFECT AFK: 100% Caves Despawned & Farm Active!
โšก AFK Teleport Command

2D Spawning & Despawn Sphere Radar

Visualizes the 24m deadzone, 32m movement zone, and 128m despawn sphere around your AFK spot.

0โ€“24m: No Spawn (Deadzone)
24โ€“32m: Full AI & Movement
32โ€“128m: Random Despawn (1/800)
> 128m: Instant Despawn
Farm Active Spawning 100% Active
Caves in 128m Sphere 0 blocks (Safe)
Hostile Mob Cap 70 mobs
Despawn Tick Chance 1/800 per tick (> 30s)
Quick Summary & Key Takeaways
Distance d = โˆš(ฮ”xยฒ + ฮ”yยฒ + ฮ”zยฒ) | Optimal AFK Y = Cave_Ceiling_Y + 128 (while Farm_Bottom_Y >= AFK_Y - 128 and Farm_Top_Y <= AFK_Y - 24)

1. Understanding Minecraft Mob Spawning & Despawn Spheres (1.18โ€“1.21+)

Hostile mob spawning in Minecraft is governed by precise mathematical spheres centered directly on the player's eye level. In Minecraft 1.18+ Caves & Cliffs Part II, the world height expanded from Y = -64 to Y = 320 (384 blocks total), and hostile monster spawning was modified to require an absolute block light level of 0 (complete darkness).

Every hostile mob's behavior and lifetime are dictated by its 3D Euclidean distance from the nearest player:

3D Euclidean Distance Formula
d = sqrt{(X_{\text{mob}} - X_{\text{player}})^2 + (Y_{\text{mob}} - Y_{\text{player}})^2 + (Z_{\text{mob}} - Z_{\text{player}})^2}

The 4 Concentric Despawn Spheres (Java Edition)

  • 0 to 24 Blocks (Inner Deadzone): Natural hostile mob spawning is strictly blocked. Any hostile mob already inside this zone will not wander or target players unless triggered. Exception: Monster Spawner cages (spawners ignore the 24m rule and spawn mobs within a 9ร—9ร—3 area as long as a player is within 16 blocks).
  • 24 to 32 Blocks (Prime Movement Zone): Mobs spawn naturally and have full AI pathfinding and movement enabled. They will walk toward drops, follow wandering goals, or track players. Mobs in this zone never randomly despawn.
  • 32 to 128 Blocks (Random Despawn & Frozen AI Zone): Mobs spawn naturally on valid surfaces at block light 0. However, after 20 ticks (1 second), their AI pathfinding is paused to conserve server CPU ticks unless actively provoked. Mobs older than 30 seconds (600 game ticks) have a 1 in 800 chance per game tick (approx. 2.47% chance per second) of randomly despawning. The average lifespan of a mob here is roughly 40.5 seconds.
  • Beyond 128 Blocks (Instant Despawn Border): Any naturally spawned hostile mob whose 3D distance exceeds 128.0 blocks is immediately removed on the very next tick. No natural hostile mob can exist beyond 128 blocks from the player.

2. The High-Altitude AFK Strategy: Eliminate Cave Lighting

In survival Minecraft, the global hostile mob cap for a single player in Java Edition is 70 mobs (calculated as 70 imes ext{chunks} / 289). If your 128-block despawn sphere touches unlit underground ravines, mineshafts, or deepslate caves below your base, zombies and skeletons will spawn there and permanently occupy all 70 slots of the mob cap โ€” reducing your farm's efficiency to almost 0%.

Instead of mining and placing thousands of torches across a 256-block underground perimeter, you can build your farm in the sky and position your AFK platform at high altitude:

  1. Determine the highest dark cave block or ground level below your farm (e.g. Y = 64).
  2. Calculate the despawn cutoff: Y_{\text{ground}} + 128 = 192. Any block at or above Y = 193 will place the ground outside your 128-block despawn sphere!
  3. Build your farm's lowest spawning platform above Y = 190 (e.g. Y = 195 to Y = 215).
  4. Position your AFK platform at Y = 319 (or Farm_Bottom_Y + 120). At this height, 100% of underground caves are further than 128 blocks away, so 0 mobs can spawn in the world except inside your farm!

3. Java Edition vs. Bedrock Edition Simulation Distances

Minecraft Bedrock Edition handles despawning differently depending on the world's Simulation Distance setting in World Options:

Edition / Simulation Dead Zone Random Despawn Instant Despawn Farm Design Impact
Java Edition (All) 0โ€“24 blocks 32โ€“128 blocks > 128 blocks Standard 128-block spherical radius across all render distances.
Bedrock (Sim 4) 0โ€“24 blocks 32โ€“44 blocks > 44 blocks Very tight! Any mob falling or pushed > 44 blocks from AFK immediately despawns.
Bedrock (Sim 6) 0โ€“24 blocks 32โ€“96 blocks > 96 blocks Medium range. AFK spot must be kept within 96 blocks of killing chamber.
Bedrock (Sim 8, 10, 12) 0โ€“24 blocks 32โ€“128 blocks > 128 blocks Matches Java Edition 128-block despawn sphere mechanics.

4. Step-by-Step Guide: Configuring Farms with this Radar

  1. Select Edition & Simulation: Toggle between Java and Bedrock (Simulation 4, 6, or 8+) to adjust the outer despawn radius.
  2. Load Preset or Enter Dimensions: Pick a farm preset (e.g. Witch Hut, Sky Mob Tower, Nether Roof Gold) or enter your farm's bottom Y and top Y.
  3. Click "Calculate Optimal AFK Spot": The radar calculates the mathematical sweet spot where the farm platforms are between 24m and 128m, while underground caves are pushed outside 128m.
  4. Inspect the Side Elevation Cross-Section: Ensure your farm bounding box glows green (active) and no underground caves intersect the outer sphere circle.
  5. Copy the Teleport Command: Use the 1-click /tp @p X Y Z command in creative testing or travel to the coordinates in survival using scaffolding.

Frequently Asked Questions

Why are mobs not spawning in my sky farm even though it is completely dark?

Check your AFK distance. Hostile mobs cannot spawn within 24 blocks of your player. If your AFK platform is directly on top of the spawning roof or within 24 blocks of the platforms, the inner dead zone suppresses all spawns. Move your AFK spot at least 25 blocks away.

How does high-altitude AFK eliminate the need to light up caves?

Minecraft instantly despawns any hostile mob located more than 128 blocks away from you. If your player is standing at Y = 250 and the ground is at Y = 64, the distance is 186 blocks (> 128). Therefore, even pitch-black caves below cannot sustain or spawn any mobs, directing 100% of the 70-mob cap into your farm.

Why do mobs despawn immediately on Minecraft Bedrock Edition realms?

Most Bedrock Realms and servers run on Simulation Distance 4 by default. On Sim 4, the instant despawn radius is only 44 blocks (not 128 blocks!). If your fall chute is taller than 44 blocks, or your AFK platform is higher than 44 blocks above the farm floor, mobs will despawn mid-air before hitting the hopper floor.

Do passive animals, bats, or named mobs count toward the hostile mob cap?

No. Hostile monsters, passive animals, water creatures (squids, dolphins), ambient mobs (bats), and axolotls each have their own independent mob caps. Furthermore, named mobs with Name Tags, mobs holding picked-up items, and persistent mobs do not count toward the hostile cap of 70.

What is the 32-block frozen AI mechanic and how does it affect farms?

In Java Edition, hostile mobs further than 32 blocks from the player stop moving and pathfinding after 1 second to save server tick processing. If your farm relies on mobs walking off edges naturally (without water flush or shifting floors), you must AFK within 32 blocks of the spawning pads.