Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Structure spawn overrides

Generated from the 26.2 decompile by tools/gen_reference.py. Do not edit by hand.

Which structures replace a biome’s spawn list, for which mob category, and with what. A structure JSON’s spawn_overrides map is read into Structure.spawnOverrides; NaturalSpawner asks the first structure at the position that declares an override for the category, and if one answers, the biome’s list is not consulted at all. An override with an empty spawn list is therefore a ban, not a no-op. box is piece (only inside a piece’s own bounding box) or full (anywhere in the structure’s). The mechanism is on entity lifecycle; the nether fortress has a second, hard-coded list in front of this one.

34 structures carry the field · 6 declare an override · 23 overrides in all

structurecategoryboxwhat spawns instead (weight, min–max)
ancient_cityambientfullnothing — the category is suppressed inside the box
ancient_cityaxolotlsfullnothing — the category is suppressed inside the box
ancient_citycreaturefullnothing — the category is suppressed inside the box
ancient_citymiscfullnothing — the category is suppressed inside the box
ancient_citymonsterfullnothing — the category is suppressed inside the box
ancient_cityunderground_water_creaturefullnothing — the category is suppressed inside the box
ancient_citywater_ambientfullnothing — the category is suppressed inside the box
ancient_citywater_creaturefullnothing — the category is suppressed inside the box
fortressmonsterpieceblaze (10, 2–3), zombified_piglin (5, 4–4), wither_skeleton (8, 5–5), skeleton (2, 5–5), magma_cube (3, 4–4)
monumentaxolotlsfullnothing — the category is suppressed inside the box
monumentmonsterfullguardian (1, 2–4)
monumentunderground_water_creaturefullnothing — the category is suppressed inside the box
pillager_outpostmonsterfullpillager (1, 1–1)
swamp_hutcreaturepiececat (1, 1–1)
swamp_hutmonsterpiecewitch (1, 1–1)
trial_chambersambientpiecenothing — the category is suppressed inside the box
trial_chambersaxolotlspiecenothing — the category is suppressed inside the box
trial_chamberscreaturepiecenothing — the category is suppressed inside the box
trial_chambersmiscpiecenothing — the category is suppressed inside the box
trial_chambersmonsterpiecenothing — the category is suppressed inside the box
trial_chambersunderground_water_creaturepiecenothing — the category is suppressed inside the box
trial_chamberswater_ambientpiecenothing — the category is suppressed inside the box
trial_chamberswater_creaturepiecenothing — the category is suppressed inside the box

The other 28 structures that carry the field carry it empty, which is the same as not carrying it: the biome’s list stands.