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

Baby ocelots don't spawn naturally


    • Confirmed
    • Mob spawning
    • Normal

      The bug

      Baby ocelots are not spawning naturally anymore. Previously a parent ocelot was able to spawn with multiple babies.

      How to reproduce

      1. Create a Superflat world with the following preset

        Note: The 70 layers of stone are required because ocelots only spawn above sea level.

      2. Set up a repeating command block with the following command
        /execute as @e[type=ocelot,nbt={Age:-24000}] run say Found baby

      Code analysis


      It appears the behavior (and code) described in MC-114017 happens now reversed. The parent is spawned and afterwards no baby can be spawned because the parent occupies the space.

      This might apply to all mobs which should naturally spawn babies: Panda, polar bear, rabbit and llama
      Edit: This was incorrect. Since the babies are not spawned as part of finalizeSpawn, but instead are separate spawn attempts, their position is randomized as well.

            Excited Maria Lemón
            poweredbow poweredbow (Inactive)
            3 Vote for this issue
            5 Start watching this issue