COWMODSКаталог модов

ChainVeinFabric

Automatically mines all connected blocks of the same type when one block is broken.

Автор: water200413,8 тыс.11обновлён 14 окт. 2026 г.
СнаряжениеМеханики игрыУтилиты

Описание

ChainVeinFabric / 连锁采集 Fabric

A modern, efficient, and configurable Chain Mining & Interaction mod for Minecraft Fabric 1.21+. Compatible with vanilla servers (client-side mode) and enhanced when installed on the server.

一个适用于 Minecraft Fabric 1.21+ 的现代、高效且可高度配置的连锁采集与交互模组。 兼容原版服务器(客户端模式),并在服务端安装时提供增强功能。


✨ Features / 功能特性

  • Configurable Chain Mining: Mine connected blocks of the same type automatically.
    • 可配置的连锁采集:自动采集相连的同类方块。
  • Chain Planting: Quickly plant seeds on compatible soil. Supports wheat, carrots, potatoes, etc.
    • 连锁种植:在兼容的耕地上快速补种。支持小麦、胡萝卜、马铃薯等作物。
  • Chain Wax/Scrape/Strip: Batch process blocks using tools or items. Supports waxing copper, scraping rust, stripping logs, and tilling soil.
    • 连锁打蜡/除锈/去皮:使用工具或物品批量处理方块。支持铜块打蜡、除锈、原木去皮以及耕地。
  • Multiple Search Shapes & Modes: Support for various search algorithms including Cube, Sphere, and Adjacency (Face, Edge, Corner connections). Now supports directional limits (Horizontal, Vertical, Upward, Downward).
    • 多种搜索算法与形状:支持包括立方体(Cube)、球形(Sphere),以及相邻扩散(面、棱、顶点连接)在内的多种搜索模式,并新增各维度的蔓延方向限制(水平、垂直、向上、向下)。
  • Anti-Kick Protection: Set packet intervals for vanilla servers to prevent "Too many packets" kicks.
    • 防踢出保护:针对原版服务器可设置自定义发包间隔,防止因操作过快被服务器踢出。
  • Visual Configuration GUI: Press V to open a user-friendly configurable, scrollable screen. Smart UI elements will enable/disable based on server environment.
    • 可视化配置界面:按 V 键打开友好、支持滚动的配置界面。UI 元素会根据服务器环境自动启用或禁用。
  • Whitelist Management: Per-mode whitelists for mining, crops, and utility interactions.
    • 白名单管理:针对采集、作物和工具交互分别提供独立的白名单。
  • Tool Protection: Smartly calculates remaining durability. Instead of failing when durability is low, it now limits the max chain amount to your remaining durability (minus a safety buffer of 10) to prevent breaking. Properly ignores empty hands and zero-durability items.
    • 工具保护:智能计算剩余耐久。当耐久度低时非但不会直接失效,而是将最大连锁数量动态限制为剩余耐久值(保留10点),防止工具损坏损坏。对空手与无耐久物品会自动正确豁免判定。
  • Unbreakable Block Filter: Automatically filters out unbreakable blocks (like Bedrock or Barriers) in survival mode, maintaining game balance even with incorrect whitelists.
    • 防破坏基岩保护:生存模式下自动过滤不可破坏方块(如基岩、屏障等),防止错误配置白名单导致的平衡性问题。

📸 Screenshots / 截图

Replace this with a description

Description: Mining mode configuration with block whitelist. 描述:连锁采集模式下的方块白名单管理界面。

image-1

Description: Action Bar feedback after chain mining blocks. 描述:连锁采集后的动作栏反馈信息。

image-2

Description: Chain Planting configuration showing the item whitelist (seeds/crops). 描述:连锁种植模式配置界面,展示种子/作物白名单。

image-3

Description: Chain Planting configuration showing the item whitelist (seeds/crops). 描述:连锁种植模式配置界面,展示种子/作物白名单。

image-4

Description: Chain planting carrots in a large area with a single click. 描述:一键在大范围内连锁种植胡萝卜。

image-5

Description: Chain Wax/Scrape/Strip configuration showing the "Applicable Blocks" whitelist. 描述:连锁打蜡/除锈/去皮模式配置界面,展示“适用方块”白名单。

image-6

Description: Stripping a whole stack of logs instantly using an axe. 描述:使用斧头瞬间连锁去皮整堆原木。


🛠️ Usage / 使用说明

  1. Open Config: Press V to open the menu. Use the Mode Dropdown to switch between Mining, Planting, and Utility modes.
    • 打开配置:按 V 键打开菜单。使用模式下拉框在采集、种植和交互模式间切换。
  2. Setup Whitelists:
    • Mining: Add blocks like iron_ore or oak_log.
    • Planting: Add items like carrot or wheat_seeds.
    • Utility: Add blocks you want to interact with, like oak_log (for stripping) or grass_block (for tilling).
    • 设置名单:
      • 采集:添加如 iron_ore 或 oak_log 等方块。
      • 种植:添加如 carrot 或 wheat_seeds 等种子物品。
      • 交互:添加想要交互的方块,如 oak_log(去皮)或 grass_block(耕地)。
  3. Perform:
    • Mine: Break a whitelisted block.
    • Plant: Right-click soil with seeds.
    • Interact: Right-click with tools (Axe/Hoe) or items (Honeycomb).
    • 执行:
      • 采集:挖掘白名单方块。
      • 种植:手持种子右键耕地。
      • 交互:手持工具(斧、锄)或物品(蜜脾)右键目标方块。

⚙️ Configuration Options / 配置选项

Option / 选项Description / 描述
Chain Mode / 模式Toggle between Mine (挖掘), Plant (种植), and Wax/Scrape/Strip (交互).
Max Blocks / 数量上限Max blocks/crops per action.
Diagonal Edge / 斜边方向Toggle 12-way edge adjacency. (斜边连接模式).
Diagonal Corner / 斜角方向Toggle 8-way corner adjacency. (斜角连接模式).
Packet Interval / 发包间隔Ms delay between packets on vanilla servers. (原版服务器发包间隔).
Tool Protection / 工具保护Stops if durability <= 10.
Direct to Inv / 直接进包Requires Mod on Server. Automatically disabled if not present.

🤝 Compatibility / 兼容性机制

This mod uses a smart networking system to determine how to break blocks: 本模组使用智能网络系统来决定如何处理连锁操作:

  1. Vanilla Server (No Mod Installed):

    • The client performs the search (BFS) and sends standard packet requests.
    • Anti-Kick: Use Packet Interval to slow down the process if needed.
    • Direct to Inventory is disabled.
    • 原版服务器(未安装模组):客户端进行 BFS 搜索计算,发送标准数据包。可以使用发包间隔来防止被踢出。不支持直接进入背包。
  2. Modded Server (Mod Installed):

    • The client sends a single packet with the list of coordinates.
    • The server breaks them efficiently and supports Direct to Inventory.
    • Packet Interval is not required and will be disabled in config GUI.
    • 模组服务器(已安装模组):客户端发送包含坐标列表的单一数据包。服务端高效执行并支持直接进入背包。无需设置发包间隔。

📝 License / 许可证

This project is licensed under the GPL-3.0 License. 本项目采用 GPL-3.0 许可证。

Последние версии

Все версии →
release

ChainVeinFabric 4.1.2+26.3

4.1.2+26.3
14 окт. 2026 г.1,1 тыс.Minecraft: 26.3fabric
Скачать
Что нового
## ChainVeinFabric v4.1.2 ### 补丁修复 / Patch fixes - 修复 Minecraft 26.3 中按住 Ctrl 点击主开关无法进入 AUTO 模式的问题,并同步修正退出 AUTO 的左键判断 - 使用 Minecraft 的左键常量处理开关点击,新增实际 Ctrl+鼠标点击的客户端回归测试 - Fixed Ctrl-clicking the main toggle failing to enter AUTO mode in Minecraft 26.3 and corrected the left-click check for exiting AUTO - Used Minecraft's left-button constant for the toggle and added client regression coverage through actual Ctrl and mouse input
release

ChainVeinFabric 4.1.1+26.3

4.1.1+26.3
3 окт. 2026 г.583Minecraft: 26.3fabric
Скачать
Что нового
## ChainVeinFabric v4.1.1 ### 补丁修复 / Patch fixes - 修复 Minecraft 26.3 配置界面中 Add 和 Remove 主按钮点击无响应的问题 - Fixed unresponsive Add and Remove primary buttons in the Minecraft 26.3 configuration screen
release

ChainVeinFabric 4.1.0+26.3

4.1.0+26.3
21 сент. 2026 г.337Minecraft: 26.3fabric
Скачать
release

ChainVeinFabric 4.1.0+26.1

4.1.0+26.1
4 сент. 2026 г.387Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
release

ChainVeinFabric 4.1.0+26.2

4.1.0+26.2
4 сент. 2026 г.1 тыс.Minecraft: 26.2fabric
Скачать
Что нового
## ChainVeinFabric v4.1.0 > [!CAUTION] > **自动挖掘安全提示:** 自动挖掘会在玩家周围批量搜索并破坏方块。启用前请确认当前模式、白名单、搜索算法与范围;每次左键只触发一轮搜索,并受冷却时间限制。 > > **Automatic mining safety:** Automatic mining searches for and breaks blocks around the player. Check the active mode, whitelist, algorithm, and range before arming it. Each left click triggers one search cycle and is subject to the configured cooldown. ### 受控自动挖掘与异步搜索 / Guarded Automatic Mining and Async Search - 所有挖掘模式均支持自动挖掘:按住 Ctrl 点击主开关进入 **AUTO**,之后每次左键触发一轮以玩家为中心的搜索;点击 **AUTO** 即可关闭 - 自动挖掘继续使用当前模式的“白名单 × 搜索算法”规则;相邻同类算法以玩家脚下方块为起点,Litematica 模式仍遵循各自的选区、投影和渲染层限制 - 新增可配置的自动挖掘冷却,以及醒目的屏幕边缘警示与状态提示,避免误触后持续运行 - 预览、手动连锁与自动挖掘统一使用带优先级的异步搜索线程,减少大范围搜索对客户端主线程的影响 - Automatic mining is available in every mining mode: Ctrl-click the main toggle to arm **AUTO**, then left-click once for each player-centered search cycle; click **AUTO** to disarm it - Automatic mining keeps the active mode's whitelist × search-algorithm rules. Same-type adjacency starts from the block beneath the player, while Litematica modes retain their area, placement, and render-layer restrictions - Added a configurable automatic-mining cooldown plus a prominent screen-edge warning and status indicator to make accidental activation obvious - Preview, manual chaining, and automatic mining now share one prioritized asynchronous search worker, reducing client-thread work during large searches ### 纯客户端模式 / Client-side Mode - 未安装服务端模组时,挖掘会按原版破坏进度逐个完成方块,不再依赖同 tick 发送开始与结束包 - 顶部状态区会显示当前方块和整份请求的进度,并避开打印机类模组常用的准星进度位置 - 新请求会等待当前方块处理完成后替换尚未开始的旧任务;玩家再次手动挖掘会立即丢弃剩余任务 - 公开客户端 API 与界面操作会自动选择服务端协议或纯客户端路径,直接进入背包与潜影盒溢出收纳仍只在服务端安装模组时可用 - Without the server mod, blocks are now completed one at a time using vanilla breaking progress instead of relying on same-tick start/stop packets - The top status area shows progress for both the current block and the complete request, away from crosshair progress displays commonly used by printer mods - A newer request waits for the current block, then replaces the unstarted remainder; another manual mining action immediately discards all remaining fallback work - Public client API calls and UI actions automatically select the dedicated protocol or client-side path. Direct to Inventory and shulker overflow still require the server mod ### 服务端调度与限制 / Server Scheduling and Limits - 单个协议请求固定最多包含 `2048` 个位置,并在解码阶段拒绝超限负载 - `/chainvein maxBlocks [1..2048]` 现在表示全服每 tick 合计处理上限,默认 `256`;同一 tick 的活动玩家公平分享预算,未用份额会重新分配 - 每名玩家每 tick 只接受第一份挖掘或交互请求;服务端先处理已有请求,再以新请求替换尚未开始的剩余部分,因此不会形成无限增长的队列 - `/chainvein pickupRadius [0..64]` 控制直接进入背包及快捷潜影盒收纳的拾取半径,默认 `10`;设为 `0` 可关闭服务端掉落捕获 - 服务端协议挖掘不再额外限制玩家距离,但不会加载未加载区块;交互统一使用原版服务端的方块交互距离判定 - 玩家下线、重生、切换维度或服务器时会清除过期任务 - Each protocol request is hard-limited to `2048` positions at decode time - `/chainvein maxBlocks [1..2048]` now controls the server-wide processed-position budget per tick and defaults to `256`; active players share it fairly and unused shares are redistributed - Only the first mining or interaction request from each player is accepted per tick. Existing work is processed first, then its unstarted remainder is replaced by the new request, so no unbounded queue can form - `/chainvein pickupRadius [0..64]` controls the capture radius for Direct to Inventory and optional Quick Shulker storage, defaults to `10`, and can be set to `0` to disable server-side drop capture - Dedicated-protocol mining no longer imposes an additional player-distance limit but never loads unavailable chunks; interactions use the vanilla server block-interaction-range check - Stale work is cleared when a player disconnects, respawns, changes dimension, or changes server ### 掉落与 Quick Shulker / Drops and Quick Shulker - 手动连锁挖掘的首个方块与后续方块现在使用同一条服务端破坏和掉落路径;开启直接进入背包后,首个方块也会正确进入背包 - 修复无精准采集冰块、含物品容器等方块在连锁破坏时与原版语义不一致的问题 - Quick Shulker 保持可选:背包装满后,剩余掉落会按玩家背包中的盒子顺序写入潜影盒,并支持公开新 API 与兼容能力探测路径 - 连续同类掉落会批量写入,潜影盒按需解析;只有背包和潜影盒都无法接收的最终剩余物才会在原位置创建掉落实体 - 保持部分接收以及 `64/16/1` 堆叠上限;满盒、超量掉落、箱子内容物和物品展示框均保留原版可见结果,不会吞物品 - The initially clicked block and all subsequent blocks now use the same server-side breaking and drop path; with Direct to Inventory enabled, the first block is captured correctly as well - Fixed chained breaking of blocks such as non-Silk-Touch ice and containers with contents so their behavior matches vanilla semantics - Quick Shulker remains optional: after the normal inventory fills, overflow is inserted into carried shulker boxes in inventory order through the public API and capability-detected compatibility path - Consecutive equal drops are inserted in batches and boxes are resolved lazily; item entities are created only for final overflow that fits in neither inventory nor shulker storage - Partial insertion and `64/16/1` stack limits are preserved. Full boxes, excess contents, container drops, and item-frame drops remain visible in the world instead of being lost ### 界面、配置与稳定性 / UI, Configuration, and Stability - 配置界面改为响应式布局,在不同 GUI 比例和分辨率下为标签、按钮及滚动条正确预留空间 - 修复切换到 Advanced 页面时下拉框构造顺序可能触发的崩溃,并隐藏不存在的翻译注释占位符 - 拆分客户端任务调度、配置持久化、预设管理、白名单归一化与界面组件,保持各层职责清晰 - 放宽兼容的 Litematica 版本范围;Litematica 与 Quick Shulker 未安装时,对应设置与模式仍保持隐藏 - 扩充服务端与真实客户端 GameTest,覆盖自动挖掘、纯客户端回退、服务端公平调度、配置迁移、四个配置页、白名单、快捷键、种植、容器及潜影盒边界行为 - The configuration screen now uses a responsive layout that reserves space correctly for labels, controls, and scrollbars across GUI scales and resolutions - Fixed a dropdown initialization crash when opening Advanced and hid missing translation-comment placeholders - Split client job dispatch, configuration persistence, preset management, whitelist normalization, and screen components into focused layers - Broadened the supported Litematica version range; Litematica- and Quick Shulker-specific modes and settings remain hidden when those optional mods are absent - Expanded server and real-client GameTests for automatic mining, client fallback, fair server scheduling, schema migration, all four configuration tabs, whitelists, hotkeys, planting, containers, and shulker-storage boundaries ### 兼容性 / Compatibility - 同时提供 Minecraft 26.2 与 26.1.x 构建;Minecraft 1.21.x 继续使用 ChainVeinFabric 2.2.1 - 相比 4.0.x,4.1.0 未更改 4.x 网络负载格式、客户端配置 schema 或公开 `ChainVeinClientApi` 方法签名,可在同一 Minecraft 版本内与 4.0.x 混用 - 4.x 专用协议仍与 1.x~3.x 分离;版本不匹配时会安全退回纯客户端模式,而不会尝试解码不兼容的数据包 - Quick Shulker 仍为可选依赖;未安装时不影响其他连锁功能 - Builds are provided for both Minecraft 26.2 and 26.1.x; Minecraft 1.21.x remains on ChainVeinFabric 2.2.1 - Compared with 4.0.x, 4.1.0 keeps the 4.x network payload format, client configuration schema, and public `ChainVeinClientApi` method signatures unchanged, allowing 4.0.x interoperability within the same Minecraft version - The 4.x dedicated protocol remains separate from 1.x–3.x; mismatched versions safely use client-side mode instead of decoding incompatible payloads - Quick Shulker remains optional and its absence does not affect other chaining features
alpha

ChainVeinFabric 4.1.0-alpha.3-26.2

4.1.0-alpha.3-26.2
31 авг. 2026 г.91Minecraft: 26.2fabric
Скачать
alpha

ChainVeinFabric 4.1.0-alpha.3-26.1

4.1.0-alpha.3-26.1
31 авг. 2026 г.37Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
Что нового
### 服务端调度 / Server Scheduling - 服务端协议单个请求固定最多携带 `2048` 个坐标;该限制在解码阶段执行 - `/chainvein maxBlocks` 现在表示全服单 tick 合计处理上限,默认仍为 `256`,现有配置值会直接作为 tick 预算使用 - 同一 tick 内,各玩家的活动请求公平分享全局预算;短请求未使用的份额会重新分配,除不尽的余数会轮换 - 每名玩家每 tick 只接受第一份挖掘或交互请求;先处理手上的旧请求,再用新请求替换旧请求尚未开始的部分 - 服务端不会形成可无限增长的请求队列;玩家下线、重生或切换维度后,旧请求会被丢弃 - A dedicated-server request is hard-limited to `2048` positions at decode time - `/chainvein maxBlocks` now controls the server-wide total processed per tick. Its default remains `256`, and existing configured values become tick budgets directly - Active players share the global budget fairly each tick; unused capacity from short requests is redistributed and indivisible remainders rotate between players - Only the first mining or interaction request from each player is accepted in a tick. The current request is processed first, then its unstarted remainder is replaced by the new request - No unbounded request queue is created; stale work is discarded when a player disconnects, respawns, or changes dimensions ### 性能与正确性 / Performance and Correctness - 连续同类掉落会批量写入快捷潜影盒,并按玩家背包中的盒子顺序按需解析和填充 - 只有最终无法进入背包或潜影盒的掉落物才会创建实体;满盒时仍在原位置正常掉落 - 优化了 Quick Shulker 新 API、强制旧适配器和稳定版兼容路径(26.2 为 3.0.2,26.1 为 3.0.1),保持部分接收及 `64/16/1` 堆叠上限 - 手动连锁挖掘会将点击原点与异步搜索余量分到不同 tick 发送,并阻止原版完成包抢先破坏原点;开启直接进入背包时,第一个方块与后续方块现在走同一服务端掉落路径 - 修复配置界面切换到 Advanced 时可能因下拉框构造顺序导致的崩溃 - 配置页、白名单、快捷键和四个配置分页均增加客户端回归测试 - Consecutive equal drops are inserted into Quick Shulker in batches, resolving and filling carried boxes lazily in inventory order - Item entities are now created only for final overflow that fits in neither inventory nor shulker storage; full-box overflow still drops at its original position - Optimized the Quick Shulker direct API, forced legacy adapter, and stable compatibility paths (3.0.2 on 26.2 and 3.0.1 on 26.1) while preserving partial insertion and `64/16/1` stack limits - Manual chain mining now sends the clicked origin and asynchronous remainder in separate ticks and prevents the vanilla completion packet from breaking the origin first; with Direct to Inventory enabled, the first and subsequent blocks use the same server drop path - Fixed a configuration-screen crash when opening Advanced caused by dropdown initialization order - Added client regression coverage for configuration pages, whitelists, hotkeys, and all four configuration tabs
alpha

ChainVeinFabric 4.1.0-alpha.2-26.1

4.1.0-alpha.2-26.1
30 авг. 2026 г.31Minecraft: 26.1, 26.1.1, 26.1.2fabric
Скачать
alpha

ChainVeinFabric 4.1.0-alpha.2-26.2

4.1.0-alpha.2-26.2
30 авг. 2026 г.70Minecraft: 26.2fabric
Скачать
Что нового
- 自动挖掘不再是独立模式:在任意挖掘模式中按住 Ctrl 点击主开关即可待命,每次左键只触发一轮以玩家为中心的搜索与挖掘;点击 **AUTO** 可直接解除 - 新增自动挖掘冷却与高可见度危险提示 HUD;同类相邻算法以玩家脚下方块为目标,其余白名单与形状算法继续复用统一异步搜索路径 - 新增持久化的权限等级 4 命令:`/chainvein maxBlocks [1..2048]`(默认 `256`)与 `/chainvein pickupRadius [0..64]`(默认 `10`) - 服务端挖掘请求不再使用硬编码玩家距离,也不会为请求加载区块;连锁交互交由原版服务端交互距离判断 - 快捷潜影盒优先使用新的标准 Fabric Storage API:先解析随身存储槽位,再对整批溢出物全局合并已有堆叠并使用空槽;装不下的剩余物仍正常掉落。旧公开 API 继续作为能力探测后的回退路径 - Minecraft 26.2 的可选 Litematica 最低兼容版本放宽至 `0.28.3` - 纯客户端回退不再于同一 tick 发送开始与结束挖掘包;现在逐方块遵循原版挖掘进度、工具速度与方块间延迟 - 纯客户端挖掘会在状态 HUD 显示当前方块进度与请求进度,服务端批量挖掘路径不受影响 - 多次提交纯客户端挖掘请求时,会先完成当前已经开始的方块,再丢弃旧请求尚未开始的部分并切换到最新请求 - 稳定了纯客户端掉落测试场地,避免掉落实体滚出测试范围造成偶发误报 - Automatic mining is no longer a separate mode. Ctrl-click the main toggle in any mining mode to arm it; each left click triggers exactly one player-centered search-and-mine batch, and clicking **AUTO** disarms it directly - Added an automatic-mining cooldown and a high-visibility hazard HUD. Same-type adjacency targets the block beneath the player, while the other whitelist and shape algorithms continue to use the shared asynchronous search path - Added persistent permission-level-4 commands: `/chainvein maxBlocks [1..2048]` (default `256`) and `/chainvein pickupRadius [0..64]` (default `10`) - Server mining requests no longer use a hard-coded player-distance limit and never load chunks for a request; chain interactions defer to the vanilla server interaction-range check - Quick Shulker now prefers its standard Fabric Storage API: carried storage slots are resolved once, then the complete overflow set is merged globally into existing stacks before empty slots are used. Remainders that do not fit still drop normally, and the legacy public API remains a capability-selected fallback - The minimum optional Litematica version for Minecraft 26.2 is now `0.28.3` - Client-only fallback no longer sends start and stop mining packets in the same tick. Blocks are now mined one at a time using vanilla progress, tool speed, and the vanilla delay between blocks - Client-only mining now shows both current-block progress and request progress in the status HUD; the dedicated-server batch path is unchanged - When multiple client-only mining requests arrive, the currently started block finishes first, then the unstarted remainder of the old request is discarded in favor of the latest request - Stabilized the client-only drop fixture so item entities cannot roll outside the assertion area and cause intermittent false failures
release

ChainVeinFabric 4.0.2+26.2

4.0.2+26.2
25 авг. 2026 г.394Minecraft: 26.2fabric
Скачать