mojira.dev
MC-268598

The "weight" of skeletons in swamp biomes is too high causing less bogged spawns

Boggeds, unlike Strays (or Husks), do not replace a certain part of the skeleton spawn in selected biomes.
Strays and Husks replace the spawn of basic mobs at 80/20, but in the case of Bogged (which was intended to have 50% spawn) it is 50/100 for them and skeletons, instead of the expected 50/50, which means that we have a larger crowd of skeleton mobs in the swamps and generally more hostile mobs in swamps than in other biomes.

Attachments

Comments 3

I can confirm, and I've put together an in-game test to verify the numbers of the spawn rates.
The issue here is that the weight of skeletons in the swamp was not reduced to 50. (Similar to husks and strays as described in the issue). Right now the total weight of skeleton-type mobs in swamps is 150%.
swamp.json

...
      {
        "type": "minecraft:skeleton",
        "maxCount": 4,
        "minCount": 4,
        "weight": 100
      },
...
      {
        "type": "minecraft:bogged",
        "maxCount": 4,
        "minCount": 4,
        "weight": 50
      }
...

How to Reproduce:
These steps should be followed the same in either two identical worlds created independently, or on the same world starting in 24w06a and then to 24w07a.
(Personally, I opted to have two seperate worlds in each version for ease of testing at the same time, but using the same world may save time)

  1. Create a swamp only world
    (In either both 24w06 & 24w07a, or just 24w06a then upgrading the world to test in 24w07a next)

  2. Set time to night

    /time set midnight
  3. Set a spawning platform high in the sky

    /fill ~-75 255 ~-75 ~75 255 ~75 minecraft:grass_block
  4. Position the player above the platform

    /tp @p ~ 285 ~
  5. Create a repeating command block to kill all entities but the player, bogged, and skeleton.
    (This will make it so that skeletons are the only hostile mobs being spawned. Granted, some will despawn and there will be a margin of error, but it's fairly minimal for confirm this issue)

    /kill @e[type=!minecraft:skeleton,type=!player,type=!bogged] 
    or
    /kill @e[type=!minecraft:skeleton,type=!player]
  6. Wait a few minutes for the mob cap to (roughly) fill up

  7. Freeze the game

  8. Give the skeletons and bogged the glowing effect (or, any effect for that matter)

    /effect give @e[type=minecraft:skeleton] minecraft:glowing
    or 
    /effect give @e[type=minecraft:bogged] minecraft:glowing

My Test:

[media]

The number should be closer to roughly 35, not 44.

I suggest changing the title to properly reflect the issue. Something like "The "weight" of skeletons in swamp biomes is too high causing less bogged spawns"

When I traveled to a swamp biome just to see the bogged spawning, it definitely seemed like less bogged were spawning compared to normal skeletons. Good job solving this! Also, it's interesting that they chose for the bogged/skeleton ratio to be 50/50, instead of 80/20 like the stray and husk. Maybe for balancing?

MrD108

(Unassigned)

1210141

Confirmed

Expansion B

Normal

Mob spawning

bogged

24w07a, 24w11a, 24w12a

24w20a

Retrieved