[MC-1421] Mushroom planting Created: 31/Oct/12  Updated: 03/May/15  Resolved: 07/Nov/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: None

Type: Bug
Reporter: Rolf Redford Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: lighting, mushroom
Environment:

1.4.2 unmodified.


Confirmation Status: Unconfirmed

 Description   

What I expected to do:
Plant a mushroom in open sky area, in darkness. It stays... in least till sunup or bonemeal into giant mushroom.

What really happened:
Mushroom pops off, even in middle of night and very dark.

I understand why blocks is permanently 15 if open to sky due to lag on changing all blocks lighting... but..

Mobs can spawn in night even on blocks on "15" light level. Why can't mushrooms be planted? Here is pseudocode on how it should work.

realBlockLightLevel is function that gets block real light level like used for mobs for spawning. blockLightLevel just gets block current light level.
Using . as space

(planted tick functions)
if(openToSky == true)
...if(night == false)
......dropMushroomAsResource
...elseif(realBlockLightLevel >= 13)
......dropMushroomAsResource
elseif(blockLightLevel >= 13)
...dropMushroomAsResource

I do hope its possible. I'm tired of building roofs so I can place wherever giant mushrooms I want by simply just planting in night and using mealbone.



 Comments   
Comment by Rolf Redford [ 07/Nov/12 ]

Done. Thanks.

Comment by Chalmes (Jon) [ 07/Nov/12 ]

Seems that this is working as intended. If you feel that this feature should be added, please post at http://www.minecraftforum.net/forum/1-suggestions/

Comment by Rolf Redford [ 31/Oct/12 ]

I remember when mushrooms used to be plantable anywhere as long as it was dark that time. It was basis of original night signal for redtstone!

Therefore to me it is a bug that I cannot plant it in night.

Thanks on light level correction though, I fixed it.

Comment by Joshua [ 31/Oct/12 ]

This is not a bug. Mushrooms need light levels below 13 and not directly underneath the sky unless planted on mycelium (mushroom island grass blocks.)

http://www.minecraftwiki.net/wiki/Mushrooms

Generated at Sun Jan 12 11:54:23 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.