Village Terrain Filter
by HabWasIchBin
Village Terrain Filter is a Fabric datapack-style mod that stops villages from generating on steep, uneven or otherwise unsuitable ground.
What it does
Before a village is placed, the filter samples the terrain around the village center and measures how much the height varies. If the deviation exceeds the configured maximum, the location is rejected and the game looks for another spot. The check uses a sampling grid with 16-block spacing across a check radius of 64 blocks, and the maximum allowed height deviation defaults to 10 blocks. Village structures themselves are left unchanged.
Separate terrain filters can be set for different village types, so vanilla villages and the compatibility villages from Better Villages and Luki's Grand Capitals each use their own stricter or looser rules. The mod works alongside Better Villages and Luki's Grand Capitals Compatibility, and it requires Lithostitched on Fabric. It is server required and client optional, and it is released under the MIT License without being open source. Files are published for 1.21.11 only, with version 1.0.0 as the latest build from 2026-06-13.
Key features
Height deviation limit
A configurable maximum height difference, set to 10 blocks by default, decides which terrain a village may occupy.
Sampling grid and radius
Terrain is sampled on a 16-block grid within a 64-block check radius around each candidate village center.
Per-village-type filters
Vanilla villages and compatibility village types can each use terrain checks tuned to their own layouts.
Village structures unchanged
Only the placement decision changes, so the village structures and their contents stay as the datapacks define them.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Servers with mixed village packs
Server owners running several village datapacks can give each type its own terrain filter instead of one global rule.
Reducing unsuitable village spots
Players exploring generated worlds see fewer villages built on cliffs and hillsides, which keeps settlements more natural in appearance.
Who it’s for: Server owners and players who run village generation packs on Fabric and want placement limited to flatter ground.
Questions
Does Village Terrain Filter need Lithostitched?
Does a player need the mod installed to join a server that runs it?
Does the filter work with Better Villages and Luki's Grand Capitals?
In the catalog
Village Terrain Filter is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 19,862 mods support Minecraft 1.21.11.
More from HabWasIchBin
Similar mods
What the author says
Village Terrain Filter prevents villages from spawning on steep, rugged, or uneven terrain by applying a height-deviation check around each village center before placement. Instead of generating villages on hillsides, cliffs, or highly irregular terrain, the datapack ensures that only sufficiently flat areas are…
Official listing
- Modrinth page
- modrinth.com/mod/village-terrain-filter
- Owner
- HabWasIchBin
- Published
- 2026-06-13
- Updated on Modrinth
- 2026-06-13
- Facts verified
- 2026-10-15
