自动矿车
自动矿车模组允许矿车在玩家不在场的情况下独立加载区块。这使得玩家可以发送矿车进行长距离运输,而无需担心它们到达已加载区域边缘时停止运行。
该模组通过识别移动的矿车并将其加入“活跃”矿车列表来工作。每个活跃矿车都会获得一个跟随其移动的区块票,从而加载其周围少量区块。如果矿车停止移动,它将变为“非活跃”状态,并在几分钟后移除区块票。
关于维度的说明: 在 Minecraft 1.21.11 之前的版本中,维度仅在玩家存在或存在强制加载的区块时才会 ticking(更新)。如果您使用的是 1.21.11 之前的版本,并且希望此模组在没有玩家存在的维度中正常工作,则需要在每个此类维度中的某处强制加载至少一个区块。
关于性能?
默认情况下,该模组仅在每个活跃矿车周围加载 3x3 范围的实体处理区块。服务器负载应几乎可以忽略不计。
不过,服务器管理员应注意,此模组可能被玩家滥用以创建区块加载器。因此,建议仅在单人世界或小型私人服务器上使用该模组。
配置
该模组开箱即用即具备合理的默认配置,但用户也可以自定义配置。配置文件位于 .minecraft/config/ 目录下;如果是安装在专用服务器上,则位于 <server-root>/config/ 目录下。
基本配置选项:
idleTimeoutTicks- 矿车变为非活跃状态后应保持加载的时间长度。默认为 6000 tick(5 分钟)。idleThreshold- 被视为活跃状态的阈值速度(方块/tick)。默认为 0.2,即每秒 4 个方块(相当于原版 Minecraft 中矿车的最大速度的一半)。chunkLoadRadius- 围绕每个矿车加载的区域大小(以区块为单位)。默认为 2,对应 3x3 的范围。ticketDuration- 模组创建的区块票持续时间(tick)。默认为 60 tick(3 秒)。
高级配置选项:
该模组实现了一种机制,用于防止那些正在移动但未前往任何目的地(例如在小型环形轨道上)的矿车无限期地加载区块。
该机制通过计算矿车位置随时间的指数移动平均值,并将其与矿车的当前位置进行比较来实现。如果矿车始终接近其平均位置,则它将被视为非活跃状态,并最终像静止状态一样被卸载,具体取决于 idleTimeoutTicks 的设置。
此行为由以下配置选项控制:
positionAverageFactor- 矿车位置指数移动平均值的平滑因子。值越大,平均时间越长。positionAverageDistance- 移动矿车拒绝的距离阈值。这控制了矿车必须偏离其平均位置多远才能被视为“活跃”。
警告
不当配置最后两个选项可能导致矿车永久保持加载状态,或者根本无法加载。请自行承担风险进行配置!
以上就是全部内容,祝您玩得愉快!
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!
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
下载 autonomous-minecarts
更新内容
- 适配 Minecraft 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧