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

Witch Hut structure data do not account for height the witch hut is generated at

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.8, Minecraft 1.8.1-pre1, Minecraft 1.8.1-pre2, Minecraft 1.8.1-pre3, Minecraft 1.8.2-pre1, Minecraft 1.8.2-pre3, Minecraft 1.8.3, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 15w32b, Minecraft 15w40b, Minecraft 15w50a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9.4, Minecraft 1.11, Minecraft 1.11.2, Minecraft 17w17b, Minecraft 1.12
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Confirmed

      Description

      The bug

      When saving witch hut structure data the game wrongly assumes all witch huts generate at the same height. As a result, witch huts generated higher than usual will allow regular mobs to spawn inside.

      How to reproduce

      Observe spawning in the witch hut at 8832, 9456 on seed "Witch hut test", pointed out by [Helper] Anomie X in the comments.

      /tp @p 8832 100 9456

      See attached screenshots: One showing three layers of witch spawning floors built in a witch hut generated at its usual height, one showing three layers built at the same height (relative to the witch hut) which generated above Y=100. One spawns witches, the other spawns all kinds of mobs.

      Code analysis

      Code analysis by Xcom6000 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                redstonehelper [Mod] redstonehelper
              • Votes:
                87 Vote for this issue
                Watchers:
                41 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: