mojira.dev
MC-213695

Structure blocks fail to place mushrooms when the only thing blocking direct sunlight is other blocks placed by the structure block

That summary is kinda awkward, but I couldn't think of a better way to phrase it

To reproduce

  1. Save the following configuration as a structure: 

    [media]
  2. Load the structure back into the world someplace underneath the open sky, and notice that the mushroom isn't there

If you generate it somewhere where the location of the mushroom is already dark enough for a mushroom to be placed, the mushroom will place successfully.

The problem seems to be that the game isn't taking the other blocks in the structure into account when trying to place the mushroom.

For further proof that lighting is the problem, try replacing the stone underneath the mushroom with mycelium and note that it generates just fine.

Linked issues

Attachments

Comments 6

awesomemaker1123

Can confirm for 21w03a

awesomemaker1123

can confirm for 21w05a

user-c84db

I think this is what causes MC-160169.

ampolive

Can confirm in 1.17.1.

user-f2760

The deactivated user is right, this causes MC-160169 and should be marked as related.
Confirmed for 1.18.2.

TelepathicGrunt

Can confirm with 1.19.2 and 1.19.4 and affects structures generated in the world as well. This is the cause of Woodland Mansions unable to spawn Red/Brown Mushrooms in its 1x2_a7 piece despite the NBT file actually having the mushrooms: MC-160169

SeanWasTaken

(Unassigned)

Confirmed

Platform

Low

Structures

structure_block

21w03a, 1.16.5, 21w05a, 21w16a, 21w17a, ..., 1.17, 1.17.1, 1.18.2, 1.19.4, 1.21

Retrieved