Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-150333

Stray cats spawn inside non full blocks

XMLWordPrintable

    • Icon: Bug 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, 1.21.1, 1.21.3, 24w46a, 1.21.4
    • 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:

      1. Create a Superflat world in peaceful mode with no villages (Generate structures: disabled)
      2. Stay still on the ground and use these commands:
        /tick freeze
        /fill ~50 ~-1 ~50 ~-50 ~-1 ~-50 minecraft:oak_slab[type=top]
        /fill ~2 ~-1 ~2 ~-2 ~-2 ~3 air
        /fill ~2 ~-2 ~2 ~-2 ~-2 ~2 white_bed[part=foot,facing=south]
        /fill ~2 ~-2 ~3 ~-2 ~-2 ~3 white_bed[part=head,facing=south]
        /summon villager ~ ~ ~2 {Passengers:[{id:"minecraft:villager",Passengers:[{id:"minecraft:villager",Passengers:[{id:"minecraft:villager",Passengers:[{id:"minecraft:villager"}]}]}]}]}
        /execute as @e[type=minecraft:villager] run ride @s dismount
        /setblock ~ ~-2 ~ repeating_command_block{powered:1b,Command:"/execute at @e[type=minecraft:cat] run setblock ~ ~1 ~ minecraft:diamond_block"}
        /setblock ~ ~-1 ~ minecraft:stone_pressure_plate
        /tick unfreeze
      3. Wait for a message in chat about a block begin changed.
        • 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.

            Unassigned Unassigned
            SoloAlguien Solo Alguien
            Votes:
            12 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: