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

Mobs spawn inside doors and trapdoors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 20w45a, 20w46a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 1.17.1, 1.19.2, 1.19.3, 23w04a, 1.19.4, 1.20.1
    • Confirmed
    • Mob spawning
    • Important
    • Platform

      Hostile mobs can spawn on blocks occupied by a door or trapdoor when the light level is 7 or lower. 

      This is a bug because doors are redstone components and mobs should not spawn on redstone components. 

      Steps to Reproduce:

      • Summon a large platform of both doors and trapdoors.
      • /fill ~1 ~ ~1 ~30 ~ ~30 minecraft:polished_andesite
      • /fill ~1 ~1 ~1 ~30 ~1 ~15 minecraft:oak_door[half=lower,open=true]
      • /fill ~1 ~2 ~1 ~30 ~2 ~15 minecraft:oak_door[half=upper,open=true]
      • /fill ~1 ~1 ~16 ~30 ~1 ~30 minecraft:oak_trapdoor[half=bottom,open=true]
      • Ensure that the "doMobSpawning" gamerule is set to "true".
      • Set the time to "midnight" and wait around ten seconds to allow hostile mobs to spawn.
      • If no hostile mobs spawned within the doors or trapdoors after this time, kill all non-player entities by using the following command to repeat the spawning process of hostile mobs once again.
      • /kill @e[type=!minecraft:player]
      • Take note as to whether or not mobs can spawn within doors and trapdoors.

            Unassigned Unassigned
            Haxington Haxington
            Votes:
            12 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              CHK: