村庄地形过滤
Village Terrain Filter 通过在放置前对每个村庄中心周围进行高度偏差检查,防止村庄生成在陡峭、崎岖或不平坦的地形上。
该数据包确保只有足够平坦的区域才会被视为有效位置,从而避免村庄在山坡、悬崖或高度不规则的地形上生成。这使生成的村庄看起来更自然,并减少了与地形相关的生成问题。
功能
工作原理
标准村庄
(原版村庄 与 Luki's Grand Capitals)
- 允许的最大高度偏差:±10 格
- 采样网格间距:16 格
- 检查半径:64 格
兼容村庄
(Better Villages 兼容)
- 允许的最大高度偏差:±4 格
- 采样网格间距:8 格
- 检查半径:48 格
两种过滤器独立运行,允许每种类型的村庄使用专门为其生成风格调优的地形检查。
需求
推荐配套模组
为了获得最佳效果,建议将 Village Terrain Filter 与 Better Villages & Luki's Grand Capitals Compatibility 一起使用。兼容村庄使用其自身更严格的地形过滤器,有助于它们在其更大且更详细的布局更适合的位置生成。
致谢
灵感来源于 Apollo 制作的 Improved Village Placement。
非常感谢其出色的工作,以及提供了开源的数据包结构,使得本项目得以实现。
Village Terrain Filter
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 considered valid locations. This results in more natural-looking villages and reduces terrain-related generation issues.
Features
- Prevents villages from spawning on unsuitable terrain
- Improves village placement quality without changing village structures
- Separate terrain filters for different village types
- Individually tuned settings for vanilla and compatibility villages
- Works seamlessly alongside Better Villages & Luki's Grand Capitals Compatibility
How It Works
Standard Villages
(Vanilla Villages & Luki's Grand Capitals)
- Maximum allowed height deviation: ±10 blocks
- Sampling grid: 16-block spacing
- Check radius: 64 blocks
Compatibility Villages
(Better Villages Compatibility)
- Maximum allowed height deviation: ±4 blocks
- Sampling grid: 8-block spacing
- Check radius: 48 blocks
Both filters operate independently, allowing each village type to use terrain checks specifically tuned to its generation style.
Requirements
Recommended Companion Mod
For the best results, use Village Terrain Filter together with Better Villages & Luki's Grand Capitals Compatibility. The compatibility villages use their own stricter terrain filter, helping them generate in locations better suited to their larger and more detailed layouts.
Credits
Inspired by Improved Village Placement by Apollo.
A huge thank you for the excellent work and for providing an open datapack structure that made this project possible.
评论 0
登录后参与评分
还没有评论,来抢沙发吧