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

Horses spawn in blocks during world generation, causing them to suffocate

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Awaiting Response
    • Minecraft 15w46a, Minecraft 15w47b, Minecraft 15w47c, Minecraft 16w07a, Minecraft 1.10.2, Minecraft 16w42a, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 1.12 Pre-Release 7, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w06a
    • None
    • Confirmed
    • (Unassigned)

    Description

      The bug

      When I created a minecraft world, I was next to some horses. Two of the horses suffocated to death since they spawned inside blocks. Also, the horse animation was a little bit off.

      How to reproduce

      1. Seed: 2154973
        World Type: Default
        Coordinates: /tp -129797 70 -3328 0 90

      Code analysis

      Based on 1.11.2 decompiled using MCP 9.35 rc1

      The problem seems to be that the method net.minecraft.world.WorldEntitySpawner.performWorldGenSpawning(World, Biome, int, int, int, int, Random), which is called when a chunk is populated, does not test if the entity it wants to spawn is colliding before spawning it in.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bugman12121292 Alex Person
              Votes:
              15 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                CHK: