-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 19w12b, Minecraft 1.14, Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 19w35a, 19w46b, 1.15 Pre-Release 2, 1.15 Pre-release 3, 1.15 Pre-release 4, 1.15 Pre-release 5, 1.15 Pre-release 6, 1.15 Pre-release 7, 1.15, 1.15.1, 1.15.1 Pre-release 1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 1.15.2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w13a, 20w13b, 20w15a, 20w17a, 20w18a, 20w19a, 20w20a, 20w20b, 20w21a, 1.16 Pre-release 3, 1.16 Pre-release 5, 1.16 Release Candidate 1, 1.16, 1.16.1, 20w28a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4 Release Candidate 1, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a, 1.17 Pre-release 2, 1.17.1 Release Candidate 2, 1.17.1, 21w40a, 21w41a, 21w43a, 21w44a, 1.18 Pre-release 1, 1.18 Pre-release 4, 1.18 Pre-release 5, 1.18 Pre-release 7, 1.18 Release Candidate 3, 1.18 Release Candidate 4, 1.18, 1.18.1 Release Candidate 1, 1.18.1, 22w03a, 22w05a, 22w07a, 1.18.2, 22w11a, 22w15a, 22w18a, 1.19 Pre-release 2, 1.19 Pre-release 3, 1.19, 1.19.1 Pre-release 5, 1.19.2, 22w44a, 1.19.3, 23w03a, 23w04a, 1.19.4, 1.20.5, 1.21, 1.21.1, 24w34a
-
Confirmed
-
Structures, Village system, World generation
-
Normal
-
Gameplay
The bug
Villagers, zombie villagers and passive mobs inside villages are spawned into the world one block too high. This causes them to occasionally get stuck, especially since they also are shifted into the wall occasionally.
All types of villagers are affected (unemployed, nitwits, babies, and zombie villagers). Also, all biome variants of villagers are affected.
How to reproduce
- Create a world with the seed 5322602735514886292
- Run
/setblock ~ ~ ~ minecraft:repeating_command_block{auto:1b,Command:"execute as @e[type=villager,nbt=!{NoAI:1b}] run data merge entity @s {NoAI:1b}"}
- Run
/tp @s -5967 68 2598
- Look around
→ You will notice that all villagers are floating inside of the air, and the villager near /tp -5986 68 2555 even is stuck inside of the wall of its house
If you reproduce this without the command block, most villagers will be able to roam around freely, but some still are stuck in walls.
See another example in this comment.
The cause
All villagers in the villager structure files are spawned on top of the jigsaw block instead of inside of it. Also, some villagers (especially baby villagers) spawn with their hitbox partially outside of the block they're standing in.
- is duplicated by
-
MC-142397 Floating Villagers
- Resolved
-
MC-148303 Desert villagers spawning mid-air, stuck with their heads inside of the roof block
- Resolved
-
MC-148549 The villagers who get up from the bed of some houses in the desert village get their heads in the ceiling
- Resolved
-
MC-150060 Villagers in Desert villages get stuck in shorter houses
- Resolved
-
MC-152920 Vilagers spawn ontop of blocks with head inside block.
- Resolved
-
MC-155018 Villagers spawn stuck in the slab roofs sometimes
- Resolved
-
MC-165626 Villagers and animals sometimes in villages spawn at wrong location
- Resolved
-
MC-166612 Villager Spawns on Bed and Suffocates
- Resolved
-
MC-168841 villagers spawn in walls
- Resolved
-
MC-178760 Desert villager glitch
- Resolved
-
MC-181684 Villagers can spawn in desert villages roofing
- Resolved
-
MC-189468 A snow village structure spawns with a villager drowning
- Resolved
-
MC-200517 Villagers get stuck in blocks
- Resolved
-
MC-201563 villagers in snowy tundra
- Resolved
-
MC-202812 Some villagers in desert are standing inside the wall
- Resolved
-
MC-217483 Disturbing villager spawnpoint
- Resolved
-
MC-234108 Villages Homes in snow biomes kill Inhabitants
- Resolved
-
MC-239239 Repeated 'Villager suffocated in a wall' output messages directly from snow huts
- Resolved
-
MC-246267 Desert villagers spawn inside blocks in their houses
- Resolved
-
MC-260802 When desert village is spawned, 1 of 2 sheep are instantly killed in Shepherd's House 1
- Resolved
-
MC-274506 Villagers spawn stuck in walls 村民生成时卡在墙里
- Resolved
-
MC-277769 Villagers can sometimes spawn in blocks
- Resolved
- relates to
-
MC-253396 Iron golems and cats that spawn within villages can spawn inside of trees
- Open