ModsFinder

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.

FabricServer required, client optionalMIT License1.21.11

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

  1. Height deviation limit

    A configurable maximum height difference, set to 10 blocks by default, decides which terrain a village may occupy.

  2. Sampling grid and radius

    Terrain is sampled on a 16-block grid within a 64-block check radius around each candidate village center.

  3. Per-village-type filters

    Vanilla villages and compatibility village types can each use terrain checks tuned to their own layouts.

  4. Village structures unchanged

    Only the placement decision changes, so the village structures and their contents stay as the datapacks define them.

Compatibility

Latest build for each game version and loader.

1.21.111.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

LithostitchedLibrary mod with new configurability and compatibility enhancements for worldgen
Required

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?

Yes. Lithostitched is a required dependency and must be installed alongside Village Terrain Filter on Fabric.

Does a player need the mod installed to join a server that runs it?

No. The server must run it, while players may leave it out.

Does the filter work with Better Villages and Luki's Grand Capitals?

The author says it works with Better Villages Compatibility and Luki's Grand Capitals Compatibility, and recommends using both together for the most suitable results.

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

All projects

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…
HabWasIchBin, on the Modrinth page

Official listing

Owner
HabWasIchBin
Published
2026-06-13
Updated on Modrinth
2026-06-13
Facts verified
2026-10-15

Tags