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

Bees block glow squid from spawning

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.30.20 Preview, 1.19.30, 1.21.1 Hotfix
    • None
    • Confirmed
    • Multiple
    • 903200

      According to the resolution of MCPE-132195 bees are not intended to spawn by means of data-driven spawn rules. However, there is a bee spawn rules file in the vanilla behavior pack. The game ignores the "conditions" section in this file because the syntax of the biome_filter is invalid, and as a result bees do not spawn via the environmental spawn algorithm. However, the game does not ignore the "description" section of the file, which puts bees into the animal population_control grouping. This means that bees get counted toward the animal cap. In particular, they count toward the underground animal cap because mobs that generate with structures do not get a "surface" bit set. The only overworld mob that actually checks the underground animal cap when attempting to spawn is glow squid. (Hoglins and striders use this cap in the nether.) Therefore, bees block glow squid from spawning within the cap check area (9 x 9 chunk square around them).

      Steps to reproduce

      1. Load Bees block glow squid.mcworld. It contains repeat, always-active command blocks that lock bees in place at world spawn and kill all other mobs. There is also a command block to toggle bees reporting in chat so that you can check how many are loaded. The world already has 6 naturally-generated bees held at spawn. (I collected these by flying around with the teleport command block set up.) In front of the command blocks a hole leads down to an underground water chamber where you can watch for glow squid spawns. (It's easiest to see the glow squid spawns if you keep you head just above the surface of the water).
      2. Go down to the water chamber and observe for a couple of minutes.
      3. Kill the bees.
      4. Observe the water chamber again.

      Expected results

      You see glow squid spawn and get killed in steps (2) and (4).

      Observed results

      Glow squid do not spawn in step (2). They do spawn in step (4).

            GoldenHelmet [Mod] GoldenHelmet
            Votes:
            5 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: