MinersAdvantage

模组

· 作者 DuelMonster

MinersAdvantage - 让挖矿更轻松...

0 本站下载 0 关注 更新于 3 周前

需要前置:Cloth Config API

最新 2.31.0+26.3-neoforge · 26.3 · NeoForge

一键开服(送7天)

MinersAdvantage

概览

MinersAdvantage 是一款“我来挖矿,不是来填表格”的模组。

这是对旧版 MC 1.20 版本的全面重写:保留了广受喜爱的生活质量(QoL)功能,消除了历史痛点,并使整个体验在单人游戏和多人游戏中都更加合理。你依然能在挖矿、耕种和砍树时获得巨大的时间节省,同时具备现代化的 Fabric 和 NeoForge 支持,并在服务器负载下表现出更稳定的行为。

如果你曾想过“我只想要几组石头,为什么还要在这里待上 45 分钟”,那么这个模组就是为你准备的。

功能

  • Captivation:自动将附近的物品和经验球吸向你(类似磁铁模式)。
  • Cropination:右键使用锄头即可收割并重新种植成熟的作物。
  • Cultivation:通过自动耕作有效水域周围的有效耕地来提升耕种效率。
  • Excavation:一次性挖掘区域内的相连方块,而不是一次挖一个。
  • Pathanation:利用你的铲子工作流程快速铺设路径。
  • Illumination:在你挖矿时放置火把,防止黑暗偷袭你。
  • Lumbination:基于树干和树叶感知的逻辑,一次性砍伐整棵树。
  • Shaftanation:切割可配置的条带矿道。
  • Substitution:根据上下文和规则自动选择最佳快捷栏工具。
  • Veination:以可配置的控制方式挖掘完整的矿石矿脉。
  • Ventilation:挖掘垂直矿道(向上或向下),并可选择性放置梯子。
  • 服务器感知同步:游戏设置进行同步,在多人游戏中可由服务器权威控制。
  • 多加载器 + 多版本支持:Fabric 和 NeoForge 构建版本源自同一个共享代码库。

工作原理

Captivation

Captivation 会在你配置的半径内侦测物品实体和经验球,并根据你的列表模式吸入允许的内容。你可以将其运行为白名单或黑名单模式,并且还可以应用无条件黑名单,以确保特定物品永远不会被吸入。

Cropination

Cropination 提供两项主要的耕种生活质量功能:右键使用锄头收割作物并立即重新种植,以及可选的种子收割功能,让你可以选择优化纯净输出还是种子库存增长。

Cultivation

Cultivation 专注于自动耕作,并通过水分驱动的耕种检查,确保只有在水源支持有效的地方才会发生耕地自动化。它的存在是为了让耕种自动化感觉更有目的性,而不是“随机发怒”。

Excavation

Excavation 在可配置的体积内破坏匹配的方块,具有每刻处理限制、方块变体处理和列表过滤逻辑。它支持按住/切换式用法,并在启用相关共享选项时与其他系统(如 Illumination 和 Veination)协同工作。

Pathanation

Pathanation 将草/泥土路线转换为快速的路径创建,具有可配置的宽度和长度。这实际上就是你的“避免腕管综合征的道路建设”按钮,适用于所有类型的泥土。

Illumination

Illumination 监控局部光照,当低于阈值时放置火把。你继续挖矿,它负责处理“防止苦力怕突然袭击角落”的程序。

Lumbination

Lumbination 遍历树干和树叶空间以识别整棵树,并根据你的策略设置移除它。你可以控制树叶处理方式、耐久度行为和树苗重新种植,以便在速度和可持续性之间达到你喜欢的平衡。

Shaftanation

Shaftanation 使用可配置的宽度、高度、深度和每刻进度挖掘直线矿道。你选择矿道的形状预算,它执行重复性劳动。

Substitution

Substitution 评估方块/实体上下文,并切换到快捷栏中的最佳工具,然后可选择切换回来。规则配置文件支持动作感知的目标匹配和基于高级表达式的优先级排序,适合喜欢精确控制的玩家。

Veination

Veination 将矿石挖掘扩展为完整的矿脉提取,具有距离限制和可选的时间修饰符。它还可以控制是否需要潜行以及开采出的矿石掉落物放置在哪里。

Ventilation

Ventilation 创建具有可配置尺寸和吞吐量的垂直通道。可选的梯子放置有助于将该通道变成一条真正可用的路线,而不是一个花哨的坑。

多人游戏同步与强制执行

仅客户端的视觉设置保持本地化,而影响游戏的设置在多人游戏中从服务器状态同步。简而言之:你的轮廓颜色是你自己的事,服务器的游戏规则是服务器的事。

安装

Fabric

  1. 安装支持的 Minecraft 版本和 Fabric Loader。
  2. 为相同的游戏版本安装 Fabric API。
  3. 下载适用于你目标版本的 MinersAdvantage Fabric jar 文件。
  4. 将 jar 文件放入 mods 文件夹。
  5. 启动游戏。

NeoForge

  1. 安装支持的 Minecraft 版本和 NeoForge。
  2. 下载适用于你目标版本的 MinersAdvantage NeoForge jar 文件。
  3. 将 jar 文件放入 mods 文件夹。
  4. 启动游戏。

多人游戏注意事项

为了功能对等和一致的行为,请在客户端和服务端都安装 MinersAdvantage。

配置

MinersAdvantage 将配置存储为 TOML 格式,位于分离的根目录中:

  • 客户端文件:minersadvantage-client-config.toml
  • 服务端游戏文件:minersadvantage-server-config.toml

客户端选项保持本地化。游戏选项在多人游戏中由服务器权威控制。

客户端配置 (minersadvantage-client-config.toml)

选项 类型 默认值 描述
disable_particle_effects boolean false 为 true 时禁用特性粒子效果。
outline_foreground_color_argb color 0xFF40D9C0 用于前景轮廓的 ARGB 颜色。
outline_see_through_color_argb color 0x4B40D9C0 用于半透明轮廓的 ARGB 颜色。

通用游戏性 (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
common.tps_guard boolean true - 在 TPS 较低时减少激进行为。
common.gather_drops boolean false - 在适用时启用掉落物收集辅助功能。
common.auto_illuminate boolean true - 允许兼容特性触发照明行为。
common.mine_veins boolean true - 允许兼容特性触发矿脉挖掘行为。
common.blocks_per_tick int 1 1 to 1024 每刻处理预算基线。
common.enable_tick_delay boolean true - 启用刻延迟节奏控制。
common.tick_delay int 5 0 to 200 启用时各处理周期之间的延迟。
common.block_radius int 3 1 to 128 相关特性操作共享的搜索半径。
common.block_limit int 64 1 to 8192 单次操作中处理方块数量的共享上限。

吸引 (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
captivation.enabled boolean true - 启用或禁用吸引功能。
captivation.allow_in_gui boolean false - 允许在打开 GUI 界面时进行捕获行为。
captivation.radius_horizontal int 16 1 to 128 水平拾取半径。
captivation.radius_vertical int 16 1 to 128 垂直拾取半径。
captivation.is_whitelist boolean false - 当为 true 时将 blacklist(黑名单)视为白名单。
captivation.unconditional_blacklist boolean false - 即使在使用白名单逻辑时,也始终排除列出的条目。
captivation.blacklist list<string> ["minecraft:rotten_flesh", "minecraft:egg"] - 用于白名单/黑名单过滤的物品 ID。

作物收割 (minersadvantage-server-config.toml)

选项 类型 默认值 描述
cropination.enabled boolean true 启用或禁用作物收割功能。
cropination.harvest_seeds boolean true 当为 true 时,在自动收割期间掉落种子。

种植 (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
cultivation.enabled boolean true - 启用或禁用种植功能。
cultivation.hydration_distance int 4 1 to 16 水合逻辑使用的水源距离检测范围。

挖掘 (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
excavation.enabled boolean true - 启用或禁用挖掘(Excavation)。
excavation.width int 3 1 to 127 挖掘宽度。
excavation.height int 3 1 to 127 挖掘高度。
excavation.depth int 3 1 to 64 挖掘深度。
excavation.processes_per_tick int 10 1 to 512 每刻处理吞吐量。
excavation.toggle_mode boolean false - 为真时,使用切换行为而非按住行为。
excavation.ignore_block_variants boolean false - 在匹配逻辑中将方块变体视为等效。
excavation.is_block_whitelist boolean false - 为真时,将 block_blacklist 视为白名单。
excavation.block_blacklist list<string> [] - 用于黑名单/白名单过滤的方块 ID。

Pathanation (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
pathanation.enabled boolean true - 启用或禁用 Pathanation。
pathanation.path_length int 6 1 to 64 生成路径段的长度。
pathanation.path_width int 3 1 to 9 生成路径段的宽度。

Illumination (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
illumination.enabled boolean true - 启用或禁用 Illumination。
illumination.radius_horizontal int 8 1 to 64 放置检查的水平搜索半径。
illumination.radius_vertical int 4 1 to 64 放置检查的垂直搜索半径。
illumination.lowest_light_level int 1 0 to 15 低光照检测的放置阈值。
illumination.use_block_light boolean true - 为真时使用方块光照评估路径。

Lumbination (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
lumbination.enabled boolean true - 启用或禁用 Lumbination。
lumbination.max_trunk_range int 32 1 to 128 最大树干搜索范围。
lumbination.max_leaf_range int 6 1 to 32 最大树叶搜索范围。
lumbination.processes_per_tick int 8 1 to 512 每刻处理吞吐量。
lumbination.chop_tree_below boolean true - 为真时,继续砍伐起始点下方的方块。
lumbination.destroy_leaves boolean true - 为真时,在处理树木期间移除树叶。
lumbination.leaves_affect_durability boolean false - 为真时,对树叶应用工具耐久度消耗。
lumbination.replant_saplings boolean true - 尽可能尝试树苗重新种植。
lumbination.use_canopy_tool boolean true - 使用树冠检测/处理逻辑以支持更广泛的树形。
lumbination.ignore_player_placed_leaves boolean true - 在识别天然树木时忽略玩家放置的树叶。
lumbination.logs list<string> [] - 额外的树干/原木方块 ID。
lumbination.leaves list<string> [] - 额外的树叶方块 ID。
lumbination.axes list<string> [] - 允许用于 Lumbination 行为的工具列表。

Shaftanation (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
shaftanation.enabled boolean true - 启用或禁用 Shaftanation。
shaftanation.depth int 16 1 到 256 竖井长度/深度。
shaftanation.processes_per_tick int 10 1 到 512 每刻的处理吞吐量。
shaftanation.width int 1 1 到 7 竖井宽度。
shaftanation.height int 2 1 到 5 竖井高度。
shaftanation.torch_placement enum FLOOR 枚举值 火把放置模式(FLOOR 及其他枚举值)。

替换 (minersadvantage-server-config.toml)

选项 类型 默认值 描述
substitution.enabled boolean true 启用或禁用替换功能。
substitution.allow_mending boolean false 当为真时,在候选项选择中允许使用修补工具。
substitution.prioritize_silk_touch boolean false 当为真时,优先采用精准采集风格的结果。
substitution.switch_back boolean true 当为真时,操作后切换回之前的物品栏槽位。
substitution.favour_fortune boolean true 在适当情况下优先采用幸运附魔的结果。
substitution.ignore_if_valid_tool boolean true 如果当前手持工具已经有效,则跳过替换。
substitution.ignore_passive_mobs boolean true 当为真时,防止被动生物攻击导致的物品交换行为。
substitution.blacklist list<string> [] 排除在替换考虑之外的物品 ID 列表。

矿脉挖掘 (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
veination.enabled boolean true - 启用或禁用矿脉挖掘功能。
veination.max_vein_distance int 12 1 到 64 最大连接矿脉距离。
veination.ores list<string> [] - 明确指定的矿石方块白名单/目标。
veination.ore_harvest_without_sneak boolean true - 允许无需潜行即可挖掘矿石。
veination.drop_ores_at_first_block boolean true - 在第一个被破坏的矿石方块附近掉落产出物。
veination.increase_harvest_time_per_ore boolean true - 当为真时,根据矿脉大小缩放挖掘时间。
veination.harvest_time_modifier double 0.2 0.01 到 10.0 应用于缩放后挖掘时间的修正系数。
veination.pickaxe_blacklist list<string> [] - 禁止用于矿脉挖掘行为的镐子列表。

通风系统 (minersadvantage-server-config.toml)

选项 类型 默认值 范围 描述
ventilation.enabled boolean true - 启用或禁用通风系统。
ventilation.width int 1 1 到 32 通风道宽度。
ventilation.height int 16 1 到 64 通风道高度包络线。
ventilation.depth int 1 1 到 64 通风道深度/长度。
ventilation.processes_per_tick int 8 1 到 512 每刻的处理吞吐量。
ventilation.place_ladders boolean true - 启用时,在挖掘通风道过程中放置梯子。

高级替换规则配置 (运行时数据)

替换功能包含一个高级 selectionRules 配置,位于运行时配置的默认设置中。它支持基于动作和表达式的感知,每条规则可以包含以下字段。

字段 类型 描述
action enum BREAK、INTERACT、ATTACK、STAT_CHANGE 或 ANY。
targetKind enum BLOCK_TAG、ENTITY_TYPE 或 ANY。
targetId string 所选目标类型的标签/实体标识符。
requiredToolKind string 工具类别提示(例如 pickaxe、axe、shovel、hoe)。
targetPriority int 在匹配的目标中进行选择时的优先级。
toolPriority int 在候选工具中进行选择时的优先级。
preferSilkTouch boolean 规则是否倾向于获得精准采集风格的结果。
preferFortune boolean 规则是否倾向于获得时运风格的结果。
targetExpression string 可选的目标表达式,支持 AND/OR/NOT 及括号。
toolExpression string 可选的工具表达式,支持 AND/OR/NOT 及括号。
minSilkTouch int 所需的最低精准采集等级。
minFortune int 所需的最低时运等级。
requireMending boolean 当为 true 时,要求选定的工具具备经验修补附魔。
denyMending boolean 当为 true 时,拒绝使用具备经验修补附魔的工具(若两者均为 true,则 requireMending 优先)。

兼容性

主题 状态
Minecraft 版本 维护了 1.21.11 和 26.1.2 节点。
加载器 Fabric 和 NeoForge 均为首选支持目标。
已知冲突 目前未记录硬性冲突。如果发现任何冲突,请提交 Issue。

技术文档

有关完整的技术细节,请参阅 TECHNICAL.md。

许可

MIT - 完整文本见 LICENSE.md。

致谢

  • DuelMonster 负责原版模组及现代重写。
  • Stonecutter、Modstitch、Fabric、NeoForge、Cloth Config 以及 ModMenu 的维护者。

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源