-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.14, Minecraft 1.14.3, 1.16.4, 20w51a, 21w03a, 21w10a, 21w11a, 21w13a, 21w14a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w39a, 21w40a, 21w41a, 1.18 Pre-release 1, 1.18, 1.18.1 Pre-release 1, 1.18.1, 1.18.2, 1.19.2, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3 Pre-release 3, 1.19.3 Release Candidate 1, 1.19.3 Release Candidate 2, 1.19.3, 23w03a, 23w04a, 23w05a, 23w06a, 23w07a, 1.19.4 Pre-release 1, 1.19.4 Pre-release 2, 1.19.4 Pre-release 3, 1.19.4 Pre-release 4, 1.19.4 Release Candidate 1, 1.19.4 Release Candidate 2, 1.19.4 Release Candidate 3, 1.19.4, 23w12a, 23w13a, 23w14a, 23w16a, 23w17a, 23w18a, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 4, 1.20 Pre-release 5, 1.20 Pre-release 6, 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1, 23w33a, 1.20.2, 1.20.4, 24w12a
-
None
-
Confirmed
-
Mob spawning
The bug
Stray cats can spawn inside non full blocks (like stairs, slabs, chests, etc) and some can suffocate them (like dirt path).
To reproduce:
- Create a Superflat world with no villages (Generate Structures: off) and in peaceful mode
- Stay still on the ground and use these commands:
/fill ~50 ~-1 ~50 ~-50 ~-1 ~-50 minecraft:oak_slab[type=top] /fill ~2 ~-1 ~2 ~-2 ~-2 ~3 air /setblock ~ ~-1 ~ minecraft:pink_carpet /tick freeze
- Fill the trench with 5 beds.
- Spawn 5 villagers in the trench.
- Place a repeating command block with this command and set it to always active
/execute at @e[type=minecraft:cat] run setblock ~ ~1 ~ minecraft:diamond_block
- Go inside the hole with the pink carpet, unfreeze the game and wait until it appears in chat that a block was changed.
/tick unfreeze
If the message appears, look for a diamond block around you and see if under it there is a cat trapped inside a slab.
What I expected to happen was...:
A cat spawning above the slab or not spawning at all.
What actually happened was...:
A cat spawned inside the slab.