Infinite Rail
by MisterDNEH
Infinite Rail is a client-side mod by MisterDNEH that lays a railway to whatever length a player needs, so a minecart keeps moving until the player steps off.
What it does
The player picks a starting point by X, Y and Z coordinates, chooses the X or Z axis the rails follow, and sets whether they run in the negative or positive direction. A chunk count of 10, 15 or 20 controls how much track is placed, and a key bind places the rails by hand to begin.
Rails keep extending in the chosen direction for miles, with no end point to reach. The author built it first to test how a device performs over long periods, and the mod also suits large worlds. Infinite Rail requires Fabric API on Fabric, and it is published for Fabric, Forge and NeoForge.
Game versions 1.20.1, 1.21.1 and 26.2 have files. The latest Fabric build is 0.3.14.17 for 26.2, the latest Forge build is 0.3.14.6 for 1.20.1, and the latest NeoForge build is 0.3.14.16 for 1.21.1. The mod is released under All rights reserved and is not open source.
Key features
Coordinate-based start
Rails begin at XYZ coordinates the player selects before any track is placed.
Axis and direction choice
The X or Z axis and a negative or positive direction set where the rails run.
Adjustable track length
Each placement lays 10, 15 or 20 chunks of rail, selected before building.
Key bind placement
A key bind places the rails manually, so the track starts when the player chooses.
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
Long minecart rides
A minecart can travel a single direction across a large world without a station or a stop.
Performance testing
The mod was developed to see how a device performs continuously, and a 24/7 livestream tracked how long it ran.
Who it’s for: Players who want long minecart journeys in large worlds, and anyone testing hardware or game performance over extended periods.
How it compares
Era of Rails is a Fabric mod for 1.21.8 – 1.21.11 that runs on both client and server, under the MIT License, and it is open source. Better with Carts is a NeoForge mod for 1.21.4 that works on either side, and neither needs it, under All rights reserved, and it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Infinite Rail | Fabric, Forge and NeoForge | 1.20.1 – 26.2 | Client-side only | 2026-10-12 |
| Era of Rails | Fabric | 1.21.8 – 1.21.11 | Client and server | 2026-03-14 |
| Better with Carts | NeoForge | 1.21.4 | Client or server, optional | 2025-06-03 |
Questions
Does Infinite Rail need Fabric API?
Which game versions have files for Infinite Rail?
Does Infinite Rail have to be installed on a server?
More from MisterDNEH
What the author says
Infinite Rail was originally developed for performance testing to see how well a device can perform while continuously going in one direction on a mine cart! However this mod could serve other amazing use cases especially if you have a big world. So enjoy the 24/7 live stream where I am using this mod to test…
Official listing
- Modrinth page
- modrinth.com/mod/infinite-rail
- Owner
- MisterDNEH
- Published
- 2026-08-12
- Updated on Modrinth
- 2026-10-12
- Facts verified
- 2026-10-15
