What a Chunk Is: 16×16 and 384 Blocks Tall
A chunk is the smallest unit of generation, storage and computation: always 16×16 blocks horizontally and always aligned to multiples of 16. Divide a block coordinate by 16 and floor it to get the chunk coordinate (chunkX = blockX >> 4), so (0,0) to (15,15) is one chunk and (-16,-16) to (-1,-1) is another. Chunks subdivide into 16×16×16 sections, the unit for lighting and most optimizations. Vertically the Overworld runs Y=-64 to Y=319, 384 blocks, with sea level at Y=63; the Nether is 0–255 on Java and 0–127 on Bedrock; the End is 0–255. Nothing can be placed outside those ranges, so leave at least one block of headroom when planning tall builds.
Load Levels: Full, Block-Ticking and Spawn Chunks
Chunks are not simply loaded or unloaded. Fully loaded chunks tick entities and blocks, so crops grow, mob AI runs and redstone works. Block-ticking chunks process blocks but not entities. Outer border chunks are merely resident in memory for rendering and collision and compute nothing. Chunks within a player's simulation distance are fully loaded; the edge is block-ticking. Spawn chunks stay loaded by default from world creation, which is why classic AFK rigs and clocks were built there; modern versions expose spawnChunkRadius to change the radius, while Bedrock needs alternative chunk-loading techniques to achieve the same effect.
Simulation Distance Is Not Render Distance
This is the most common beginner confusion. Render distance controls how far you can see; simulation distance controls how far things actually run. Java defaults to simulation 10 and render 12; Bedrock defaults to simulation 4 — which is why a farm that works fine on Java dies on Bedrock: the player is already outside simulation range. Diagnose it directly: when a farm stops, first check whether the horizontal distance exceeds the simulation radius in blocks (16 per chunk), then check whether the chunk unloaded. An unloaded chunk freezes everything inside it, which is the root cause of 'it stops when I walk away'.
Mob Caps and the 128-Block Despawn
Spawning is constrained by both spawnable chunks and per-category caps: the 17×17 chunks around each player are eligible, 289 in total, and each cap equals its multiplier times eligible chunks divided by 289. Solo, that means 70 monsters, 10 animals, 15 ambient and 20 water ambient. Players far apart stack their caps; players clustered together dilute them — the classic reason mob towers underperform on crowded servers. On top of that, monsters more than 128 blocks from any player are removed instantly, so every tower design comes down to hollowing out spawn space inside 128 blocks and putting the AFK spot in the right place.
Four Practical Consequences
First, spawn platforms are judged per 16×16 chunk, so align the tower with chunk borders and leave margin or edge platforms lose efficiency. Second, redstone crossing a chunk border picks up extra update ordering, so precision clocks and TNT bombers should keep critical parts inside one chunk. Third, entities freeze or linger the instant a chunk unloads, so transport paths should not cross a border that is about to unload. Fourth, iron golem and village checks depend on load state, so confirm the whole structure sits inside one simulation range before choosing a site. These four rules save a lot of 'I followed the tutorial and it still does not work' debugging.
Comments
Powered by GitHub Discussions — sign in with GitHub to comment.