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 4

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

Affects 1.20.5 Pre-Release 1

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.

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

2No2Name

(Unassigned)

Confirmed

Commands, Mob spawning

1.17.1, 1.20.5 Pre-Release 1

Retrieved