mojira.dev
MC-241620

Lily of the valley generation with bone meal in flower forests is extremely scarce

Lily of the valley doesn't seem to regenerate in flower forests with bone meal. Even when keeping in mind that flower gradients have changed since they also change in relation to Y level, this still doesn't seem to be intended behavior. All other flowers in flower forest regenerate fine in the same spot. **

Steps to reproduce:

Load up a 1.18 pre-release world and locate an flower forest.
Now find a patch of lily of the valley and destroy it, and then keep bonemealing the same block. You will see that you get an different flower instead of the lily of the valley. 

It didn't seem to be possible to regenerate lily of the valley anymore at all using bone meal, after spending quite some time testing different locations. 

Observed Results:
A different flower generates by bonemealing the block, while it still has the same XYZ values as when it first generated.

Expected Results:
Just like all other flowers in the flower forest, you should expect to repeatedly get the same flower when bonemealing a block with the same XYZ value over and over again. 

Attachments

Comments 15

This behavior is present in 1.17.1 as well and isn't exclusive to the 1.18 snapshots.

Bonemealing to produce lily of the valley is definitely possible in 1.17.1. I have a flower farm producing lily of the valley which works in 1.17.1, and can find lily of the valley in other areas as well by bonemealing. 

After upgrading the world to 1.18, the same areas now produce different flowers when bonemealed. It looks like there is a problem with the flower gradient in 1.18 (see my bug report MC-244716 for 1.18). Maybe this also present in the 1.18 snapshots.

This still happens in 1.18 for sure. I created a superflat world as a flower_forest biome, and set up command blocks to delete grass and tall_grass blocks and started bonemealing for 30 minutes. Not a single lily of the valley appeared ANYWHERE. Cornflowers were somewhat rare. Based off of this image from an earlier unknown version, it looks like lily of the valley are supposed to spawn around cornflowers, but that did not happen. I can conclude that there is some issue here.

[media]

 

Did you test it in 1.18 or 1.18.1?

I bonemealed about 60000 grass blocks in a new (1.18.1) single-biome world and did find some lily of the valley, although not much.  There were 19 lily of the valley, in two separate "clusters" - one cluster is 18, and one of....one.  They are still inside cornflower teardrops, but you need to find a very large cornflower area to get any reasonable number of lily of the valley spawn points (some cornflower areas are too small to have any, and of course some have such a small number - like one - that making a farm isn't really viable).

I've added 3 screenshots to the ticket of the area, and the two places where I found lily of the valley.  While it does spawn, it certainly seems like it is much too infrequent.  Also because Y values matter for the flower gradient now, your chances of finding them are ridiculously small.

5 more comments

Flower forests use two flower features, generating independently of each other:

  • forest_flowers: random patches of rose bushes, peonies, lilacs and lilies of the valley

  • flower_flower_forest: gradient of dandelion, poppy, allium, azure bluet, red tulip, orange tulip, white tulip, pink tulip, oxeye daisy, cornflower, lily of the valley

Flowers spawned by bone meal depend on the flower_flower_forest gradient, meaning you won't get lilies of the valley *unless* they were generated there by the gradient. The forest_flowers feature is completely ignored by bone meal, even outside flower forests - this also means you can't get lilies of the valley by bone mealing in other forest biomes.

1.18 changed the noise function of the flower gradient to take the Y level into account, and the two extremes of the gradient (dandelion and lily of the valley) became less common overall. A similar issue also now occurs in plains - tulip generation depends on a noise function but they became considerably rarer as "tulip areas" now commonly generate in isolated blobs entirely in the sky or deep underground.

So at the moment this ticket is covering two separate issues:

  • Unexpected changes (never mentioned in a changelog) to the noise function used for flower gradients made lilies of the valley rarer than before

  • Bone meal can't grow lilies of the valley from the forest_flowers feature, also affecting other forest biomes.

EDIT: opened a new ticket for lilies of the valley not generating from the forest_flowers feature when bone mealing in forest biomes: MC-268689

Issue is still present till this day, 1.20.4+.


Reply from @unknown:
Please confirm issues only in the latest release/snapshot version.

This change completely sucked - ruined whole decorated builds of farms.  PLEASE DONT DO IT AGAIN.  Just leave the current map where it is.  This (and the ice/snow elevation biome change) completely screwed people who had old worlds that had built up full decorated farm areas which were no longer useful farms when we upgraded.  Please take a lesson from this and don't change it again, leave it well enough alone.

Can confirm in 1.21.

A friend and I managed to find the lily of the valley above layer 120 and below layer -3, we used a mod called "Flower Map", which shows the gradient of the flowers on a test map, and with that we managed to find the lily of the valley in Minecraft 1.21

Jasper M

(Unassigned)

Confirmed

Gameplay

Normal

Block states, World generation

1.17.1, 1.18 Pre-release 1, 1.18 Pre-release 5, 1.18.1, 1.19, 1.19.2, 1.19.4, 1.21

Retrieved