All Mods Resource Packs Data Packs Shaders Modpacks Plugins
autonomous-minecarts

autonomous-minecarts

by ac101m • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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!

How to Install autonomous-minecarts (Mod)

autonomous-minecarts by ac101m is verified for Fabric across Minecraft versions 1.20.4, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.8 (latest release: 1.1.11+26.3, file size: 2.2 MB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.4, 1.21.1, 1.21.10, 1.21.11, 1.21.2, 1.21.3, 1.21.4, 1.21.8) and platform (Fabric).
  2. Make sure you have the compatible loader or environment installed for Fabric.
  3. Move the downloaded autonomous-minecarts file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
1mo ago 1
26.2
Fabric
1mo ago 1
26.1.2
Fabric
7mo ago 1
1.21.10
Fabric
7mo ago 1
1.21.11
Fabric
7mo ago 1
26.1
Fabric
7mo ago 1
26.1.1
Fabric
7mo ago 1
1.21.11
Fabric
10mo ago 1
1.21.8
Fabric
last yr. 1
1.21.8
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.21.3
Fabric
last yr. 1
1.21.x
Fabric
last yr. 1
1.20.4
Fabric
last yr. 1
# Changes

  • Update for minecraft 26.3
# Changes

  • Update for minecraft 26.2.
  • Fix chunk load radius being smaller than advertised.
# Changes

  • Update to support 26.1.2
# Changes

  • Backport mod version 1.1.9 to minecraft 1.21.10.
# Changes

  • Backport persistence bug fix from version 1.1.9.
# Changes

  • Update for minecraft 26.1
  • Fix issue where the mod would fail to initialize correctly when reloading a single player world.
# Changes

  • Update for minecraft 26.1.1
  • Update dependency versions.
  • Use strict rather than approximate versioning in fabric.mod.json to avoid subtle breakages.

# Changes

  • Updated to support minecraft 1.21.11
  • Force-loaded chunks are no longer required in dimensions where no players are present.
# Changelog

  • Fix issue with tickets persisting after minecart removal.
  • Fix issue with minecarts not loading when traveling through portals.
  • Note: A single force loaded chunk is still needed in any dimension you want to tick without players present.
# Changelog

  • Update to minecraft 1.21.8
  • Fixed issue with idle movement threshold not working correctly
Updated for minecraft 1.21.4
  • Update to support 1.21.3
  • Add single player support
  • Update mod for minecraft 1.21.1
  • Fix new parameter defaults not being written to config.
autonomous-minecarts Icon
Download autonomous-minecarts
Select game version
Select platform