The Bug:
Villages structures can generate over air blocks.
Here is an example:
Version: 1.19.4
Seed: 2686092101085001154
Coordinates: /execute in minecraft:overworld run tp @s 117.30 68.00 52.30 -35.51 -9.47
Steps to Reproduce:
Generate a world with the seed provided above and teleport to the given coordinates.
Look closely at the generation of the said village structure.
Take note as to whether or not villages structures can generate over air blocks.
Observed Behavior:
Villages structures can generate over air blocks.
Expected Behavior:
Villages structures would not be able to generate over air blocks.
Related issues
is duplicated by
relates to
Attachments
Comments


Some of the screenshots here are not duplicates. The ones over the air, not the lakes. Is not the issue. I think it has to do with the new Structure blocks rather than bad generation. However, the structures over lakes are most likely is the same bug due to lake spawning.

This is not resolved please take another look.

Also New it has to do with the structure blocks. I found this!
[media] https://bugs.mojang.com/secure/attachment/191778/2018-12-01_18.47.38.png
EDIT The Farm is actually under and near a path block too
A farm underneath grass blocks.
also, I found this
[media]
nothing major here but the horse pen is off by 1 block

Also, comment If I Need to make a separate (or change title) For structure Blocks placement bugs.

I don't know if it has to do with the structure blocks but underneath the pier in the same village, it looks like this
[media][media]

Hay bales count as a structure block call so that is also a generation structure block call on top of another one the path in this Screenshot.
[media]
Also, note that a lamp post is another call also on the same path

Also with the new savanna villages:
[media][media]

I think this bug and MC-140469 are the same issue with village generation altogether being funky on uneven terrain, but either way here is a seed and coordinates with a particularly bad village. Seed: -6751619097844995455
Coordinates: /tp @s 874.2 73.88 -469.22 46.6 39.7
[media]
[media]
[media]
Edit: Upon regeneration of the world, the paths have now molded to the terrain properly, and generated structures are not sunk into or floating above the ground. The only issue in the new world is with paths that intersect lakes. So this bug appears not always reproducible.

Most of my plain villages have changed for 18w50a I am currently revisiting them in the latest snapshot. I found a few new bugs with terrain gen as well. Also, paths still can generate over air cave space; it's on a different seed though.

Starting to think they should add fenced bridges for paths going up sheer cliffs and across cliffs and ravines

Suggest you expand label to just villages in general as I've found taiga village spawned next to a small plateau with some of the village on it, with the path on top of the plateau ending abruptly and a path at the bottom ending abruptly with no slope
sorry, no screenshot nor seed
reminded me of the rock bottom bus episode of Spongebob

@Tedstar The Floating over the lakes is already a bug This Bug Report when I first posted this was "Solved" Because it was a duplicate. However, I corrected this report by saying that this was not just that, but It Spawned over caves and ravines as well. I recently just found another village over a ravine. Although that might be its own thing, villages are spawning over ravines because it's Technically not regular cave gen or surface cave gen. Also, in my first version and seed of this bug, all of the villages were fixed after the third version.
Thanks for the commenting
TIP Trying using a three-digit Seed. It seems that the villages are prone to break more on those.

Same has happened to me. Seed is: 1052964649 and location is: -1144, 100, -2490
After some research I have noticed that the wrong village generation happened when re-creating a previous world, while when creating a new one using the same seed by hand it leads to a correct generation. I don't know if this is a common pattern or just some coincidence, but all the times I have tried to re-create the world have led to a broken generation.
Here are some screenshots of the comparison. Screenshots have been taken in 19w06a snapshot but the bug was already present in previous versions.
In the malformed one, paths seems not to feet the ground shape and houses and paths tend to either sink in the ground or to be generated in a thin floating platform.
[media][media]

Ok, quick update, after some more research I've come to the conclusion that the bug is city dependant and not world dependant. The cities with malformations vary in different generations of the world.

Is this still an issue in 19w13a?

It seems its still an Issue with my 3 digit seeds and as Ivan said it may be City Dependent. I created a new world for the 343 seed in version 19w41b and the same village at spawn is almost exactly the same as it was when I screenshotted that the first time in 18w50a.
[media][media]
[media]
Confirmed for 1.14

Still in 1.14.1 Release

Confirmed 1.14.1 from my report
https://bugs.mojang.com/browse/MC-151816

So as a quick check in today. I made a new 343 seed world in 1.14.1. The Village is in the same place all the buildings are on the ground BUT.....
[media][media]
The paths are where the bridge blocks used to be though all the way on the bottom.
An improvement, though not complete.
Did not know that the bug would last this long but nice job so far!

Still in 1.14.2 Pre-Release 1 and 1.14.2 Pre-Release 2

Still an issue in 1.16-pre6

I have this issue in 1.16.1 on a Mac. Two villages found just yesterday have multiple structures floating in the air. My seed is 5680317535129005843. A desert village is at -1445, 72, -2952. A plains village is at -1713, 62, -2461.
The desert village has multiple farms and a butcher house floating in midair, and the terrain is very patchy and uneven, not really matching the contours of the surrounding hills. I had already blocked off flowing water by the time I took the screenshots. I approached this village from the west.
[media][media][media]The plains village is a complete mess! Almost the entire ground is grass path. There are patches of bare dirt (no grass) where it appears that something that was supposed to be present but was replaced with air blocks. Most structures are floating one or more blocks above the ground. There is an exposed cave under one of the floating houses (I build the dirt bridge).
[media][media][media][media][media][media]
I had this same bug happen to 2 villages (plains) yesterday, and then again in another village (taiga) today after updating to 1.16.2.
I'm on PC, Windows 7. I've been mapping my world, and these villages are all newly generated. I have not noticed this issue before yesterday (on 1.16.1).

I've encountered this with unmodded 1.16.2 Minecraft on Linux (Fedora 32). Seed 077401122477023, coordinates [-254, 64, 299], oceanside plains village. Structure is a house on top of a deep pit.

I think that villages can generate first then caves follow and that strange bug occure?

@Matej Javoršćak that sounds plaucible but that wont explain how paths are generated down in caves/ravines when a village path generates over one. That clearly indicates that the ravine generated first and the villages afterwards.
It is more likely that there are issues with the puzzel system that generates villages, that makes it think everything is fine and dandy as long as the beginning piece can place successfulle and then not checking for the additional pieces whether they would violate placement of a structure/path or not.
Seed 1286573337 in Java 1.16.5, coord x: 57; z: -190. shows two houses completelty floating in air and some other structures partially over air aswell as paths generated at the bottom of the hole the houses are above.
Can confirm in 21w13a.

Is this not just a duplicate of MC-140383?

Affects 1.17-pre1
Another example: seed 1, X: 7937, Z: 11337

Affects 1.17.

Can confirm in 1.17.1 Pre-release 1.

Can confirm in 1.17 here too with more screenshots. Also causes incorrect pathway fillers (planks) to be generated over water where they shouldn't be while generating the usual plank pathways with standard path blocks.
Seed: -7131751027343848337
Coords: 7275 100 6775
Does not seem to happen every time I generate the world, might be related to which part of the area is first loaded and triggers the village population (eg. from where the village is first approached), ran into a similar issue with a desert temple and a village generating inside of each other which was also chunk population order dependent.
[media][media]
[media]
[media]

Can confirm in 21w38a.

Can confirm in 21w41a.

Can confirm in 21w44a
-7131751027343848337
Coordinates of village 6688, ~, 6192
This also means the village has moved 900 blocks from the 1.17 location
[media]
Can confirm in 1.18 Pre-release 1.
Can confirm for 1.18 pre-release 3
[media]

Confirmed in 1.18 Release Candidate 3
[639651250511902074]
X: -1078 Y: 61 Z: 845

Hey Guys! Been a while... Look what I found!
[media]
Although it seems more a bit more extreme this time.
And I can confirm a Villager spawned in there.
Confirmed #2 in 1.18 Release Candidate 3
Can confirm in 1.19.2.
[media]Version: 1.19.2
Seed: -2055074493936140863
Coordinates: /execute in minecraft:overworld run tp @s 52027.34 70.00 2361.17 315.81 5.34

i confirm in 23w04a. the seed is -8347609665039207485, and the location is /execute in minecraft:overworld run tp @s -3663.57 68.00 6005.55 4050.57 86.10

In 23w43a

Can confirm in 1.21

Can confirm in 24w44a

Confirmed in 1.21.4 prerelease 2

Can confirm in 1.21.4
seed: 4902607015186956457
-341 99 94
I don't know why I failed to upload the image due to some errors, but you can actually see it in 1.21.4.

Affects 25w05a