mojira.dev
MC-138477

Farmland and dirt path don't convert into dirt when water or lava is above them

The Bug:

Farmland and dirt path don't convert into dirt when water or lava is above them.

Steps to Reproduce:

  1. Place some farmland or dirt path down.

  2. Place some water above the farmland or dirt path.

  3. 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

Attachments

Comments 11

⚠️ The environment is supposed to only contain pc details.

Can confirm in 20w51a.

Can confirm in 21w03a.

Can confirm in 21w05b.

Can confirm in 21w06a.

1 more comments

Thanks, much appreciated! 😃

For powder snow this is intended, see MC-225202.

Updated ticket as per @unknown's comment.

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_deadly_fire5

Avoma

(Unassigned)

Confirmed

Block states

dirt_path, farmland, water

Minecraft 1.13.2, Minecraft 18w43c, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, ..., 1.21.3, 1.21.4, 25w08a, 1.21.5, 1.21.7

Retrieved