PaperMC/patches
Spottedleaf 00331d943e Fix mushrooms not generating in swamps
During feature generation, light data is not initialised and
will always return 15 in Starlight. Vanilla can possibly return
0 if partially initialised, which allows some mushroom blocks to
generate.

In general, the brightness value from the light engine should not
be used until the chunk is ready. To emulate Vanilla behavior better,
we return 0 as the brightness during world gen unless the target
chunk is finished lighting.

The regular light retrieval outside of WorldGenRegion remains
the same, as behaviorally chunks not lit should be at max
skylight and zero block light.
2023-10-16 18:52:28 -07:00
..
api Add BlockData setter for FallingBlock (#9829) 2023-10-14 22:46:31 +02:00
removed Re-add remove streams for Brain AI patch 2023-09-23 23:40:49 -07:00
server Fix mushrooms not generating in swamps 2023-10-16 18:52:28 -07:00