The Bug:
Farmland and dirt path don't convert into dirt when water or lava is above them.
Steps to Reproduce:
Place some farmland or dirt path down.
Place some water above the farmland or dirt path.
Take note as to whether or not farmland and dirt path convert into dirt when water, lava or powder snow is above them.
Observed Behavior:
Farmland and dirt path don't convert into dirt.
Expected Behavior:
Farmland and dirt path would convert into dirt.
Linked issues
is duplicated by 4
Attachments
Comments 11
For powder snow this is intended, see MC-225202.
I don't think this should necessarily be changed because it would break all the farms that use water to break and collect crop drops. Maybe it should change path/farmland to dirt if there is a water source block above, but not if it's flowing water. Alternatively, make them behave similarly to grass blocks but with a delay. After 30 seconds underwater, they start converting to dirt so farms can still use water collection systems but farmland/paths wont persist underwater indefinitely.
Related to this: You can't create farmland/paths underwater with their respective tools. It seems to check if the block above the dirt block is air, and if true: it converts, false: it does nothing. So even though water doesn't crush path/farmland like all other blocks, it still blocks the conversion. If farmland/paths are allowed underwater, you should be able to create them underwater but if they aren't going to be allowed underwater then the current implementation makes sense. I can make a separate issue for this specifically but the logic seems to be heavily intertwined with any decisions made around this so I thought I would leave it here as a comment.
⚠️ The environment is supposed to only contain pc details.