promotional bannermobile promotional banner

Infinite Road

Adds endless highways.

Infinite Road

Infinite Road is a NeoForge mod for Minecraft 1.21.1 that generates a long, straight highway near the world spawn. The road extends as chunks load, creating an endless route across the Overworld.

Features

  • Generates a fixed-height, straight highway near spawn.
  • Uses a 32-block-wide road layout.
  • Includes a double yellow center line, white edge lines, and dashed white lane markings.
  • Adds glowstone lighting along both road edges.
  • Clears a half-circle tunnel space with a radius of 15 blocks when the road passes through mountains.
  • Builds a thick road foundation under the surface.
  • Fills small air gaps under the road.
  • Adds large round support pillars under high road sections.
  • Skips block entities while carving or placing blocks to reduce compatibility issues with machines, chests, and modded devices.

Configuration

The mod creates a common config file where you can adjust:

  • enableRoadGeneration: Enable or disable road generation.
  • roadWidth: Road width. This mod currently uses 32 blocks.
  • roadSpawnDistance: Distance from the world spawn on the Z axis.
  • roadBaseHeight: Fixed Y-level of the road.
  • roadSegmentLength: Length used for repeated road details such as edge lighting.
  • pillarSpacing: Distance between support pillars.

Installation

  1. Install Minecraft 1.21.1 with NeoForge 21.1.236 or newer.
  2. Put infiniteroad-1.0.0.jar into your mods folder.
  3. Launch the game and create or load an Overworld.
  4. Explore near spawn to find the highway.

Compatibility

  • Minecraft: 1.21.1
  • NeoForge: 21.1.236 or newer
  • Side: Client and server

For best results, test the mod in a new world first. The road generator modifies terrain around the highway path.


无限公路

无限公路是一个适用于 Minecraft 1.21.1 的 NeoForge 模组,会在主世界出生点附近生成一条笔直的公路。公路会随着区块加载不断向前延伸,形成一条跨越主世界的无限道路。

功能

  • 在出生点附近生成固定高度的笔直公路。
  • 公路宽度为 32 格。
  • 包含双黄线中分、白色边线和白色虚线车道线。
  • 在道路两侧边缘加入萤石照明。
  • 当公路穿过山体时,会清理出半径 15 格的半圆形隧道空间。
  • 道路下方会生成加厚基础层。
  • 道路底部空气较少时,会自动填厚底部。
  • 道路底部悬空较高时,会生成大型圆柱支撑。
  • 清理和放置方块时会跳过方块实体,减少与机器、箱子、模组设备等方块的兼容问题。

配置

模组会生成通用配置文件,可调整:

  • enableRoadGeneration:启用或关闭公路生成。
  • roadWidth:公路宽度,目前固定使用 32 格。
  • roadSpawnDistance:公路相对世界出生点在 Z 轴方向的距离。
  • roadBaseHeight:公路固定 Y 高度。
  • roadSegmentLength:道路细节重复长度,例如边缘照明间隔。
  • pillarSpacing:支撑柱之间的距离。

安装

  1. 安装 Minecraft 1.21.1 和 NeoForge 21.1.236 或更高版本。
  2. 将 infiniteroad-1.0.0.jar 放入 mods 文件夹。
  3. 启动游戏并创建或加载主世界。
  4. 在出生点附近探索即可找到公路。

兼容性

  • Minecraft:1.21.1
  • NeoForge:21.1.236 或更高版本
  • 运行端:客户端和服务端

建议先在新世界中测试。本模组会修改公路路径附近的地形。

The Infinite Road Team

profile avatar
  • 2
    Projects
  • 442
    Downloads

More from Smallfishh