-
Bug
-
Resolution: Unresolved
-
None
-
Minecraft 1.13, 1.17, 1.17.1 Pre-release 1, 1.17.1, 22w19a, 1.19 Pre-release 1, 1.19 Pre-release 3, 1.19 Pre-release 5, 1.19, 1.19.1, 1.19.2, 22w44a, 22w46a, 1.19.3 Pre-release 1, 1.19.3 Pre-release 2, 1.19.3, 23w03a, 23w04a, 1.19.4
-
None
-
Confirmed
-
World generation
-
Normal
-
Gameplay
The Bug
It seems like, this bug was missed when world generation changed back in 1.13.
Compared to 1.12.2, mushrooms generate much less commonly in 1.13 and any version after that.
Note that there are differences in population in general (see MC-124985), which is why for example trees and lily pads won't match up
How to reproduce
- Generate a new world with seed 91 in 1.12.2 and run /tp @s -330.81 65.75 164.31 124.50 27.15
- Generate a world with the same seed in the current version and run /execute in minecraft:overworld run tp @s -330.81 65.75 164.31 124.50 27.15
Look around in both swamps and notice how mushrooms are way more sparse in the current version, compared to 1.12
Code analysis by Barteks2x in MC-229557:
The issue has been verified in mod dev environment by adding a conditional breakpoint on block place in RandomPatchFeature#place with condition "new ChunkPos(context.origin()).equals(new ChunkPos(mutableBlockPos)) && blockState.getBlock() == Blocks.BROWN_MUSHROOM" - the breakpoint never hits, so no mushroom blocks are ever placed in the chunk where features are actually generated.