mojira.dev
MC-267229

Snow golems cannot spawn naturally using customized worldgen, and are replaced with pigs

If you create a custom biome or structure and make snow golems spawn in it using the spawners or spawn_overrides JSON objects, you will instead see pigs spawn. This has been in the game in previous updates too.

See the attached datapack, which modifies the snowy_taiga biome to only spawn snow golems as creatures.

Steps to reproduce:

  1. Create a world with the following:
    → Single biome, snowy taiga
    → Use 'datapack.zip'

  2. Run the following command when world loads:

    /effect give @e[type=minecraft:snow_golem] minecraft:glowing

Attachments

Comments 3

I can confirm this issue, i have similar behavior when i want to create a custom biome with a naturally spawned snow golem.
I wanted to add a snowy version of the mushroom biome, but i have pigs instead ^^"

Tested on Minecraft 1.20.1, fabric and vanilla.

Can confirm in 24w04a. I've written a new title and description to better suit the issue.

Here are some steps to reproduce, and an updated title:
Title

Snow golems cannot spawn naturally using customized worldgen, and are replaced with pigs

Steps to reproduce:

  1. Create a world with the following:
    → Single biome, snowy taiga
    → Use 'datapack.zip'

  2. Run the following command when world loads:

    /effect give @e[type=minecraft:snow_golem] minecraft:glowing

Just FYI, it spawns a pig instead (asopposed to a zombie or alike) as that's the default entity type. The snow golem is essentially a blacklisted ID from natural spawning. Makes me wonder if other entities that don't spawn naturally are affected too...

Salasana

(Unassigned)

Community Consensus

Platform

Normal

Data Packs, World generation

1.20.4, 24w04a

Retrieved