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

Mobspawning calculation goes up to the highest block and not to the highest opaque block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.14.2, Minecraft 1.14.3 Pre-Release 2, 1.14.4, 1.15.1, 1.15.2, 1.16.4, 20w51a
    • None
    • Confirmed
    • Mob spawning

      The bug

      Previously, a server computed for mobspawning from y=1 to the highest subchunk in which there is an opaque block. (From full version 1.13 not every subchunk but every block up to the highest opaque block in this chunk.) But in the current version 1.14.2 (and also until 1.14.3 Pre Release 2) the server calculates up to the highest block in general, even if it is glass.
      This slows down many mob farms, as, for example, the afk position is often built out of glass above the mob farm. That sounds like an unimportant bug, but for technical players this is very significant.

      How to reproduce

      1. Create a superflat world with preset minecraft:air;minecraft:plains;
      2. Run /fill ~ 0 ~ ~24 0 ~24 stone
      3. Fly up to an appropiate distance to the platform that allows mob spawning
        Mobs spawn extremely fast
      4. Run /fill ~ 255 ~ ~24 255 ~24 glass while being on the same x, z coordinates you were while executing the first command
      5. Run /kill @e[type=!minecraft:player]
        Mob spawn rate is reduced significantly

            Unassigned Unassigned
            1Grundstein 1Grundstein
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              CHK: