mojira.dev
MCPE-170275

Pigs do not spawn naturally in most biomes

So, where are all the pigs? In 1.19 and before, there are pigs everywhere. In current version, there is no pig anywhere.

It's more visible in a superflat world.

I can find pigs only in 2 biomes: meadow and cherry grove.

That's all.

Comments 1

The current vanilla behavior pack for 1.20 has a new pig spawn rules file that explicitly only allows them to spawn in meadow and cherry grove. I would guess that the intended change was to add meadow and cherry grove to the biomes that pigs can spawn in, but instead of adding the meadow and cherry grove tag into the existing pig's biome filter, the old biome filter was just replaced.

How it is in current preview:

"minecraft:biome_filter": {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "meadow"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "cherry_grove"
            }
          ]
        }
"minecraft:biome_filter": {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "meadow"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "cherry_grove"
            }
          ]
        }

How it should be:

"minecraft:biome_filter": {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator":"==",
              "value": "animal"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "meadow"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "cherry_grove"
            }
          ]
        }
"minecraft:biome_filter": {
          "any_of": [
            {
              "test": "has_biome_tag",
              "operator":"==",
              "value": "animal"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "meadow"
            },
            {
              "test": "has_biome_tag",
              "operator": "==",
              "value": "cherry_grove"
            }
          ]
        }

Former user

(Unassigned)

1026387

Confirmed

Multiple

1.20.0.22 Preview, 1.20.0.23 Preview

1.20.0.24 Preview

Retrieved