autonomous-minecarts

Quick rating

autonomous-minecarts

No reviews yet

A fabric mod which allows minecarts to autonomously load chunks.

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Unsupported
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
1.1.10+26.1.2
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Autonomous minecarts

The autonomous minecarts mod allows minecarts to load chunks independently of the player. This allows players to send minecarts over long distances without having to worry about them stopping when they reach the edge of the loaded area.

It works by identifying moving minecarts and adding them to a list of "active" carts. Active carts are each given a chunk ticket which follows the minecart and loads a small number of chunks surrounding it. If a cart stops moving it becomes "inactive" and the chunk ticket is removed after a few minutes.

Note regarding dimensions: In minecraft versions prior to 1.21.11, dimensions will only tick when a player is present or there are force loaded chunks present. If you are using a version prior to 1.21.11 and want this mod to work in dimensions where no players are present, you will need to force load at least one chunk somewhere in each of those dimensions.

What about performance?

By default, the mod loads only a 3x3 area of entity processing chunks around each active minecart. Server load should be pretty negligible.

Server administrators should be aware though that this mod may be abused by players to create chunk loaders. For this reason, it's probably best used in single player worlds or on small private servers only.

Configuration

The mod comes sensibly configured out of the box, but can also be customized by users. Configuration can be found under .minecraft/config/, or if installed on a dedicated server, then under <server-root>/config/.

Basic config options:

  • idleTimeoutTicks - How long minecarts should remain loaded once they become inactive. Defaults to 6000 ticks (5 minutes).
  • idleThreshold - The threshold velocity in blocks per tick above which a cart will be considered active. Defaults to 0.2 or 4 blocks per second (half the maximum cart speed in vanilla minecraft).
  • chunkLoadRadius - How large an area to load surrounding each minecart in chunks. Defaults to 2 for a 3x3 area.
  • ticketDuration - Duration of chunk tickets created by the mod in ticks. Defaults to 60 (3 seconds).

Advanced configuration options:

The mod implements a mechanism for preventing carts which are moving but not going anywhere (e.g. are on small circular tracks), from loading chunks indefinitely.

This mechanism works by calculating an exponental moving average of the cart position over time and comparing it to the current position of the cart. If the cart stays close to its average position, then it will be considered inactive and will eventually be unloaded as if it were stationary, in accordance with idleTimeoutTicks.

This behavior is controlled by the following configuration options:

  • positionAverageFactor - Smoothing factor for the exponential moving average of cart position. Larger values mean a longer average.
  • positionAverageDistance - Distance threshold for moving cart rejection. This controls the distance in blocks that the cart must be from it's average position to be considered "active".

WARNING

Improper configuration of these last two options may lead to carts remaining loaded in perpetuity, or carts not loading at all. Configure at your own risk!

That's all, enjoy!

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~4,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works