
MinecartsLoadChunks
Minecarts load terrain around them instead of getting stuck at the borders of unloaded chunks.
About this Mod
Minecarts Load Chunks Mod
A Fabric mod that prevents minecarts from getting stuck at unloaded chunk borders by automatically loading chunks as the minecarts travel. It works with all minecart types: regular, chest, furnace, and hopper carts, ensuring smooth and uninterrupted transportation across your Minecraft world.
Features
- Automatic Chunk Loading: Loads a 3x3 grid of chunks around any moving minecart to prevent chunk border issues.
- Supports All Minecart Types: Works with regular minecarts, chest minecarts, furnace minecarts, and hopper minecarts.
- Tick-Based Expiry: Chunks remain loaded for 30 seconds (600 ticks) after the minecart leaves. This can be changed in the configuration file.
- Persistent Chunk data-blocked: Loaded chunks are saved on a per-world basis and restored when the server restarts, preventing stranded minecarts even through server reboots.
How It Works
- The mod scans for all minecarts (regular, chest, furnace, and hopper carts) every server tick.
- When a minecart is detected with nonzero velocity, it records the tick and forces a 3x3 grid of chunks around the minecart’s position to be loaded.
- The chunks remain loaded for 30 seconds (600 ticks).
- Persistent storage: The chunk data is saved to each world’s save directory and restored when the world is reloaded, preventing stranded minecarts.
Configuration
The mod uses a JSON configuration file (config/minecartsloadchunks.json) to allow you to customize its behavior. You can modify the settings to suit your needs. Here’s what each configuration option does:
General Settings
loadChunks- Enables or disables the mod entirely. Set this tofalseto disable the mod without removing it. (Default:true)spamConsole- Enables detailed logging in the console every second for debugging purposes. (Default:false)
Chunk Loading Durations
cartLoadDuration- Specifies how long (in seconds) each chunk remains loaded after a minecart passes through. (Default:30)movementDuration- Defines how long (in seconds) a chunk stays loaded after a minecart stops moving. (Default:10)
Minecart Type Settings
These settings determine which minecart types can load chunks. Set to true to enable chunk loading for specific minecart types:
loadMinecarts– Standard minecarts (Default:true)loadFurnaceMinecarts– Furnace minecarts (Default:true)loadChestMinecarts– Chest minecarts (Default:true)loadHopperMinecarts– Hopper minecarts (Default:true)loadTntMinecarts– TNT minecarts (Default:false)loadCommandBlockMinecarts– Command block minecarts (Default:false, disabled to prevent unintended behavior)
Contributing
Feel free to contribute to this project by:
- Reporting issues
- Submitting pull requests
- Requesting new features
License
This mod is available under the MIT License.
Credits
- Developed by Dylan
- Special thanks to the Minecraft and Fabric communities for making modding such a joy.
- Github
Available Versions
How to Install MinecartsLoadChunks on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.7).
Install Mod
Open the mod browser in the dashboard and search for "MinecartsLoadChunks". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.7, 1.21.6, 1.21.5 (+1 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
MinecartsLoadChunks server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.7). You can switch loaders with one click in the panel.
Is MinecartsLoadChunks compatible with fabric?
MinecartsLoadChunks officially supports fabric for Minecraft 1.21.7, 1.21.6, 1.21.5. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with MinecartsLoadChunks – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if MinecartsLoadChunks consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install MinecartsLoadChunks with just one click on your server.