mojira.dev
MC-214293

Mobs can spawn on top of azaleas and flowering azaleas

Hostile mobs are able to spawn on top of azaleas and flowering azaleas.

To reproduce

  1. Create a world

  2. While in mid-air, type

    /fill ~10 ~ ~10 ~-10 ~ ~-10 minecraft:moss_block
  3. While standing on the moss block type

    /fill ~10 ~ ~10 ~-10 ~ ~-10 minecraft:flowering_azalea
  4. Set the time to midnight

  5. Use

    /kill @e[type=!player]

    → ❌ Mobs start to spawn on top of the azaleas

Linked issues

Attachments

Comments 9

[Mod] markderickson

Can confirm.

Can confirm in 21w06a.

[Mod] OcelotOnesie

Reopening, this was not fixed in 21w16a.

Affects 1.18.1

Still a major problem as of 23/12.

Can confirm in 1.18.2 and 22w11a.

Can confirm in 1.19 and 22w24a.

Can confirm in 23w45a

Is this actually a bug? A code analysis reveals that the only conditions on a block allowing spawning is that it has a solid top surface, and a luminance less than 14. Are we assuming that they are supposed to act like other saplings because they're part of the #minecraft:saplings block group? The block group doesn't appear to affect block properties. Azaleas have a solid top surface, they don't have a luminance, and they don't have an explicit override like some other blocks that restricts spawning. This may be intentional game design.

DrownedZombie

(Unassigned)

Confirmed

Gameplay

Normal

Mob spawning

21w05b, 21w06a, 21w07a, 21w08b, 21w11a, ..., 23w45a, 1.20.4, 1.21.1, 24w34a, 1.21.3

21w16a

Retrieved