阡陌交通RoadWeaver

模组

· 作者 shiroha

RoadWeaver 是一款专为 Minecraft Java Edition 设计的 Fabric 模组,能够自动在游戏内的结构(如村庄)之间编织出优雅的公路网络。

0 本站下载 0 关注 更新于 1 个月前

最新 2.3.2-1.20.1 · 1.20.1 · Fabric

一键开服(送7天)

RoadWeaver

English | 简体中文

A Minecraft mod that automatically generates beautiful roads between villages or custom structures.

Key Features

1. Smart Road Generation

  • Intelligent Pathfinding: Multiple pathfinding algorithms that avoid steep and dangerous areas; adjusts routes based on terrain height, biomes, and ground stability
  • Bezier Curves: Applies Bezier curve smoothing to polyline paths, creating natural smooth curves and avoiding sharp turns
  • Multiple Road Types:
    • Artificial roads: (stone bricks, slabs), (dirt, mud bricks), etc., or customize your own in the preset editor
    • Natural roads: Biome-adaptive road materials
  • Obstacle Avoidance: Cuts, fills terrain and removes trees to ensure road passability
  • Tunnel & Bridge System: Tunnels through mountains, bridges over water
  • Slab System: Fills slabs at elevation changes to improve passability
  • Road Foundation: Smoothly interpolates surrounding height field based on road elevation, fills foundation only when road is above original terrain, creating natural convex slopes that blend seamlessly with the landscape

2. Decoration System

  • Lamp System: Redstone lamps with automatic day/night control
  • Signpost System: Distance markers and directional signs
  • Roadside Structure Decorations: Randomly generates benches, campfires and other decorative structures along roads

3. Configuration Options

  • Performance Optimization: Multi-threaded async generation with concurrency control; height and terrain caching to reduce redundant calculations
  • Multiple Network Planning Algorithms: KNN (sparsest) / Delaunay (densest) / RNG (balanced)
  • Multiple Pathfinding Algorithms: A* / Bidirectional A* / Fluid Simulation
  • Road Block Customization: Mix and match in the preset editor

4. Visualization Tools

  • Visual Debugging: Road network map; status colors (planned/generating/completed/failed); interactions (drag, zoom, right-click teleport); statistics for road count, length and status
  • Manual Link Mode: Plan road networks according to your preferences

Compatibility

  • New versions (2.0.0+) completely abandon the old /locate command search mechanism, no longer blocking the game main thread
  • Structure prediction, road network planning and pathfinding all run in dedicated thread pools; main thread only handles driving and result application

Known Compatibility & Performance Issues

  • This mod (2.0.6+) is compatible with Tectonic-V2 / Epic Terrain / Terralith, but incompatible with Tectonic-V3
  • This mod relies on vanilla mechanics, so it's incompatible with mods that overhaul vanilla mechanics like TerraFirmaCraft: The Next Generation

Incompatibility symptoms:

  • Extremely slow road generation
  • Very slow or blank map data loading
  • Map shows roads as generated but nothing appears when approaching

Performance factors:

  • World terrain complexity
  • Pathfinding step size and weight configuration
  • Concurrent road generation count and thread pool size

Usage

  • Auto Generation: Roads automatically generate between structures after entering the world
  • Road Network Map: Press H to open the debug map and view the road network
  • Configuration: Cloth Config API settings screen (built-in since 2.0.2), accessible from the world creation screen or by pressing H in-game and clicking the top-right corner

Inspiration

Based on Countered's Settlement Roads, map inspired by RoadArchitect.

Future Plans

  • More roadside decorations?
  • Link multiple structure types
  • Link biomes?
  • More beautiful buildings?
  • Road events?
  • Custom linking
  • Main road system?
  • Slab transitions
  • Bezier curve smoothing

Notes

  • The more structures configured to locate when loading a world, the longer world creation takes, but the more complete the road network

  • Roads cannot generate on already-loaded chunks, so don't approach road segments before they finish generating

  • 默认自动生成:进入世界后,道路会自动在结构之间生成

  • 路网地图:按 H 打开调试地图以查看道路网络

  • 配置选项:通过模组 Cloth Config API 的配置界面进行设置(2.0.2 及以上版本已内置)。可以在创建新世界的界面中,或在游戏中按快捷键 H 打开地图后,于右上角打开

模组灵感

本模组基于 Countered's Settlement Roads 制作,地图设计灵感来源于 RoadArchitect。

未来计划

  • 更多路边装饰?
  • 链接多种结构
  • 链接生物群系?
  • 更多精美建筑?
  • 路途事件?
  • 自定义链接
  • 主路系统?
  • 半砖过渡
  • 贝塞尔曲线平滑

注意事项

  • 设置中加载世界时定位的结构数量越多,创建世界所需的时间就越长,但生成的完整度也越高
  • 道路无法在已加载的区块上生成。因此,如果道路尚未完全生成,请勿靠近该路段

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源