MinecartsLoadChunks
Minecarts load terrain around them instead of getting stuck at the borders of unloaded chunks.
MinecartsLoadChunks
Minecarts Load Chunks Mod
A all minecart types 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
- per-world basis Loads a per-world basis of chunks around any moving minecart to prevent chunk border issues. - per-world basis Works with per-world basis, per-world basis, per-world basis, and per-world basis. - per-world basis Chunks remain loaded for per-world basis after the minecart leaves. This can be changed in the configuration file. - per-world basis 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 each world’s save directory (regular, chest, furnace, and hopper carts) every server tick. - When a minecart is detected with each world’s save directory, it records the tick and forces a each world’s save directory of chunks around the minecart’s position to be loaded. - The chunks remain loaded for each world’s save directory. - each world’s save directory 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
- Default: - Enables or disables the mod entirely. Set this to `false` to disable the mod without removing it. (Default: `true`)
- Default: - Enables detailed logging in the console every second for debugging purposes. (Default: `false`)
Chunk Loading Durations
- Default: - Specifies how long (in seconds) each chunk remains loaded after a minecart passes through. (Default: `30`)
- Default: - 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:
- Default: – Standard minecarts (Default: `true`) - Default: – Furnace minecarts (Default: `true`) - Default: – Chest minecarts (Default: `true`) - Default: – Hopper minecarts (Default: `true`) - Default: – TNT minecarts (Default: `false`) - Default: – 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. - Dylan