promotional bannermobile promotional banner

Maid Mining

A Touhou Little Maid extension that adds autonomous ore mining task
Back to Files

maidmining-1.0.2.jar

File namemaidmining-1.0.2.jar
Uploader
leyuezhidaleyuezhida
Uploaded
Oct 4, 2026
Downloads
146
Size
115.7 KB
Mod Loaders
Forge
File ID
9054987
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:maid-mining-1651763:9054987")

Learn more about Curse Maven

What's new

完整配置(35 项) —— 此前全部参数都是硬编码常量,玩家一个都改不了。现在分为搜索 / 移动 / 挖掘 / 物品 / 安全 / 观测 / 兼容七组,配置文件在 世界/serverconfig/maidmining-server.toml。默认值取保守策略:不进岩浆、不挖玩家方块、垫脚只用廉价方块。
搜索不再强制加载区块 —— 旧版扫描时若碰到未加载区块会同步加载甚至生成它,在低模拟距离服务器上每轮扫描都可能强制生成几十个区块。现在只扫已加载的部分,跳过未加载区域。
扫描性能 —— 先按区块段跳过全空气段、再用调色板预过滤;搜索热路径不再每格分配对象(旧版一轮约 49 万次分配)。挖不到矿时冷却逐次翻倍,不再每 6 秒空转一轮全量扫描。
可选的「领地保护兼容模式」 —— 默认关闭。开启后女仆改用假玩家走玩家破坏路径,绝大多数领地/保护模组即可正常拦截(默认模式下它们只能通过另一类事件否决)。适合服务器管理员按需启用。
任务启用条件 —— 女仆界面现在会显示「需要镐子」,并可判断是否满足。
自动化测试扩充到 24 项 —— 新增附魔适配、物品守恒、展示位保护,以及精准采集的场景覆盖(深板岩变体、下界合金镐、与时运并存时的优先级、从背包换手、非矿石方块)。

35 configuration options in seven groups, written to world/serverconfig/maidmining-server.toml. Previously every parameter was a hardcoded constant that players could not change at all.
Scanning never force-loads chunks — previously it could synchronously load or generate them, potentially generating dozens of chunks per pass on low-simulation-distance servers.
Faster scanning — skips all-air sections, uses palette pre-filtering, and allocates nothing per block (was ~489k allocations per pass). Empty scans now back off exponentially.
Optional claim-protection compatibility mode (off by default) that breaks blocks via a fake player so most land-claim mods can intercept them.
Task enable condition ("needs a pickaxe") shown in the maid GUI.
24 GameTests, covering enchantments, item conservation, display-slot protection, and Silk Touch across its variants.
Break diagnostics — with diag.logLevel = DEBUG, every break logs the tool, its enchantment levels and the actual drops.

This mod has no additional files