Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-156411

Several mistakes in the new slime spawn rules

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.19.10.23 Preview
    • 1.19.10.20 Preview
    • None
    • Confirmed
    • Multiple
    • 793618

      The slime.json spawn rules that was created to fix MCPE-153502 has multiple mistakes that break parity with Java Edition:

      • For spawns in slime chunks:
        • It allows slimes to spawn at Y = 40 and Y = 41.
        • It does not allow slime chunk spawns in swamps.
      • For spawns near sea level/surface in swamps:
        • It allows slimes to spawn at Y = 70 and Y = 71.
        • It allows slimes to spawn in all light levels.

      Steps to reproduce

      1. Open Slime chunk spawn test.mcworld. It contains a slime chunk cleared out down to slime spawn range from X 16 to 31 and Z -17 to -32 and a lever that toggles the top floor of the chunk between Y 38 and Y 40. All existing slimes are send to the void whenever you toggle the floors.
      2. Observe the chunk for a minute or two, toggle the floors, and observe for another minute or two.
      3. Open Swamp slime spawn test.mcworld. It contains a swamp-only world with several platforms between Y 49 and Y 70 and a slime chunk platform at X 16 to 31 and Z -17 to -32. A repeating command block constantly kills all non-slime mobs. The command block with a lever at Y 76 can be used to send all slimes to the void.
      4. Observe each of the platforms for a few minutes at midnight and at noon, clearing slimes when they build up.

      Expected results

      Java parity:
      In slime chunks, slimes spawn no higher than in Y 39 (on Y 38).
      In swamps, slimes spawn in the slime chunk below Y 40.
      In swamps, slimes spawn no higher than in Y 69 (on Y 68).
      In swamps, slimes spawn in Y 51 to 69 only where the light level is 0 to 7.

      Observed results

      In slime chunks, slimes spawn as high as in Y 41 (on Y 40).
      In swamps, slimes do not spawn in the slime chunk below Y 40.
      In swamps, slimes spawn as high as in Y 71 (on Y 70).
      In swamps, slimes spawn in Y 51 to 71 at all light levels.

        1. corrected slime spawn rules.json
          2 kB
          [Mod] GoldenHelmet
        2. Slime chunk spawn test.mcworld
          452 kB
          [Mod] GoldenHelmet
        3. Swamp slime spawn test.mcworld
          8.86 MB
          [Mod] GoldenHelmet

            GoldenHelmet [Mod] GoldenHelmet
            Votes:
            9 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: