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

Mobs with fixed y-axis bounds for spawning are not adjusted correctly for custom dimensions

XMLWordPrintable

    • Community Consensus
    • Mob spawning
    • Low
    • Platform

      The bug

      In the provided data pack, two dimensions are added with the y axis bounded between two heights either below y=40 or above it. It seems that slime spawning is completely fixed to y=40 somewhere in the game's code, completely forbidding them from spawning in dimensions which do not allow blocks to exist at that point or below.

      I have not tested this for ocelots, squid and other mobs with fixed y-axis bounds for spawning but they may also be affected.

      To reproduce:

      1. Create a new world with the provided data pack
      2. Teleport to the "deep" dimension
        → note the high amount of slimes spawned
      3. Teleport to the "sky" dimension
        note the complete absence of slimes

      This could be fixed by having these mobs with such y-axis bounds be automatically scaled based on the dimension's height values, or even better, be made independently configurable themselves as a separate setting in the dimension specification.

        1. 2021-02-16_13.46.30.png
          354 kB
          Connor Steppie
        2. 2021-02-16_13.46.44.png
          317 kB
          Connor Steppie

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: