

The ceiling blocks may be gravity-affected such as gravel or sand, which fall if disturbed by the player.

In Java Edition, dungeons generate naturally in the Overworld at any altitude (provided it is next to a cave) regardless of whether "Generate structures" world creation option has been toggled off for said world.
