Перейти к содержимому
Mineforgian

ChainVeinFabric

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

Загрузки
3K
Подписчики
6
Обновлён
27 июня 2026 г.
Лицензия
GPL-3.0-or-later

Опубликован 5 февраля 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_oreoak_log 等方块。
      • 种植:添加如 carrotwheat_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 许可证。

Ченджлог

2.2.0-1.21Релиз1.21 · 27 июня 2026 г.

ChainVeinFabric v2.2.0

变更 / Changes

  • 添加 MaLiLib 快捷键注册和独立快捷键配置页

  • 添加快捷开启/关闭连锁状态的快捷键

  • 添加将当前指向方块加入/移出当前白名单的快捷键

  • 添加白名单预设和配置预设管理功能

  • 修复重新打开配置界面后快捷键配置不保存的问题

  • 修复连锁采集方块数量被手持物品堆叠数量限制的问题

  • 将 Fabric Minecraft 依赖范围限制为当前 Minecraft 中版本(~<minecraft_version>

  • Added MaLiLib hotkey registration and a dedicated hotkeys config tab

  • Added a hotkey for quickly toggling chain state

  • Added a hotkey for adding/removing the targeted block from the current whitelist

  • Added whitelist and config preset management

  • Fixed hotkey config persistence after reopening the config screen

  • Fixed chain mining block limits being capped by the held item stack size

  • Restricted the Fabric Minecraft dependency range to the current Minecraft line with ~<minecraft_version>

2.1.3-26.1Релиз26.1, 26.1.1, 26.1.2 · 5 июня 2026 г.

ChainVeinFabric v2.1.3-26.1

变更 / Changes

  • 修复连锁采集模式下无法将作物方块加入白名单的问题

  • 修复骨粉等客户端返回 PASS 的物品无法触发连锁的问题

  • 修复自定义包处理器在创造模式下消耗物品的问题

  • Fixed crop blocks not being addable to whitelist in Chain Mine mode

  • Fixed items like bone meal (which return PASS on client) not triggering chain actions

  • Fixed items being consumed in Creative mode when using the custom packet handler

2.1.2-26.1Релиз26.1, 26.1.1, 26.1.2 · 16 мая 2026 г.

变更 / Changes

  • GUI 左右两侧增加留白,修复因 MC 渲染问题导致的边缘显示不全

  • 高级设置中配置控件宽度缩减,不再撑满屏幕

  • 模式下拉菜单加宽,容纳完整中文标签

  • 描边按钮使用翻译文本替代硬编码 "OL" 前缀

  • 清理死代码

  • Added padding on both sides of the GUI to fix edge clipping caused by MC rendering bug

  • Reduced config control width in Advanced settings tab

  • Widened mode dropdown to fit full translated labels

  • Outline toggle button now uses translated text instead of hardcoded "OL" prefix

  • Cleaned up dead code

2.1.0-26.1Релиз26.1, 26.1.1, 26.1.2 · 15 мая 2026 г.

新增功能 / New Features

方块描边预览 / Block Outline Preview

  • 在基础设置中新增开关,开启后准星指向方块时会实时预览连锁操作将影响的范围
  • 仅绘制外轮廓,相邻方块间的内部棱线自动隐藏(面剔除 + 棱合并)
  • 不同模式使用不同颜色区分:采集=青色,种植=绿色,工具=黄色
  • 支持所有搜索算法(相邻同种、相邻白名单、球形、平面正方形、长方体)
  • 20 tick 自动刷新以响应世界变化,搜索结果缓存避免每帧重复计算

方块描边预览 / Block Outline Preview

  • Added a toggle in the Basic settings tab. When enabled, hovering your crosshair over a block shows a real-time wireframe preview of all blocks that would be affected by the chain operation.
  • Only outer edges are drawn — internal edges between adjacent blocks and coplanar grid lines are automatically hidden (face culling + edge merging).
  • Color-coded by mode: Cyan for mining, Green for planting, Yellow for utility.
  • Supports all search algorithms (Adjacent Same, Adjacent Whitelist, Sphere, Square Plane, Cuboid).
  • Cached search result with 20-tick periodic refresh to handle world changes; no per-frame recomputation.
2.0.1-26.1Релиз26.1, 26.1.1, 26.1.2 · 3 мая 2026 г.

fix: advance config cannot be saved

2.0.0-1.21.11Релиз1.21.11 · 29 апреля 2026 г.

Band new modern ui using malilib!

2.0.0-26.1Релиз26.1, 26.1.1, 26.1.2 · 29 апреля 2026 г.

Band new modern ui using malilib!

1.4.2Релиз26.1 · 7 апреля 2026 г.

1.4.2

update to 26.1

Комментарии

Загружаем…