mojira.dev
MC-232359

Parrot monster spawner does not treat all air types equally

When using a parrot monster spawner using commands, for example:

/setblock ~ ~ ~ minecraft:spawner{Delay:0s,MaxNearbyEntities:5s,MaxSpawnDelay:20s,MinSpawnDelay:10s,RequiredPlayerRange:15s,SpawnCount:5s,SpawnData:{id:"minecraft:parrot"},SpawnPotentials:[{Entity:{id:"minecraft:parrot"},Weight:1}],SpawnRange:4s}

it will spawn parrots mid air. However when the air is cave_air, it will not spawn any parrots.

Note: When using the fill command to place cave_air, make sure to place another block, e.g. stone. Replacing air with cave_air seems to fail.

Linked issues

Attachments

Comments

migrated

It should be in code format {{}} rather than normal format.

[Mod] Jingy

Affects 1.20.5 Pre-Release 1

haykam

This issue still exists in Minecraft snapshot 24w21b. Note that due to the fix for MC-271911, a minecraft:air tag now exists for the three types of air. This issue could be fixed by including that tag within the minecraft:parrots_spawnable_on tag.

2No2Name

(Unassigned)

Confirmed

Commands, Mob spawning

1.17.1, 1.20.5 Pre-Release 1

Retrieved