Capture Net
一个简单、可复用的实用工具,用于在 Minecraft 26.1.x 中转移动物——无需驱赶、牵引或乘船横跨半个世界。
适用于 Fabric 和 NeoForge。
功能说明
- 右键点击动物(手持空网)→ 将生物存入网中。
- 右键点击方块(手持装满生物的网)→ 在被点击的面上释放生物。
- 该网可重复使用——无消耗性充能,无耐久度损耗。
- 单个网一次只能容纳一只生物。
完整 NBT 数据保留
捕获生物时,网会保存实体的完整 NBT 数据——而不仅仅是类型信息。这意味着:
- 你的命名宠物会保留其名称
- 粉色绵羊保持粉色
- 驯服的狼在释放后仍属于你
- 小鸡宝宝保持幼年状态
- 带有自定义数据扩展的模组生物也可透明支持——无需额外的兼容性补丁
丰富的工具提示
网的工具提示会精确显示内部包含的内容,包括:
- 生物的自定义名称(如果有)
- 颜色 / 变种 / 品种(如绵羊颜色、猫毛色、狼种类、美西螈变种等)
- 幼体标记(针对未成年生物)
示例:
Contains: Bessie · Pink Sheep Contains: Wild Axolotl · baby Contains: Whiskers · Calico Cat
对于没有注册变种适配器的模组生物,会优雅降级——仍会显示名称 + 实体类型,只是缺少变种前缀。
可捕获的生物
✅ 允许:任何被动或中立活体实体——动物、村民、傀儡、悦灵、美西螈、模组生物等。
❌ 禁止:玩家、Boss(末影龙、凋灵、监守者),以及所有属于 MONSTER 类别的生物。未来可能会推出强化版网以解锁对敌对生物的捕获能力。
合成配方
面向整合包作者及其他模组开发者
本模组发布了物品标签 #capturenet:nets,其中包含由任意模组提供的所有捕获网物品。如果你正在构建需要接受“任意捕获网”的功能(例如畜牧方块、自定义合成配方),请读取此标签,而非检查特定物品 ID。
状态
此为早期版本。计划中的后续开发内容包括:
- 强化捕获网 —— 更高级别的网,能够捕获敌对生物(一次性使用,成本较高)
- 数据包标签,用于按整合包需求屏蔽或允许特定实体
- 可选的扩展工具提示(按住 Shift 键)显示生命值、所有者等信息
许可证
CC0-1.0 —— 公共领域,你可随意使用此代码。
Capture Net
A simple, reusable utility for relocating animals in Minecraft 26.1.x — without having to herd, lead, or boat them across half the world.
Available for both Fabric and NeoForge.
What it does
- Right-click an animal with an empty net → the mob is stored inside the net.
- Right-click a block with a filled net → the mob is released on the clicked face.
- The net is reusable — no consumable charges, no durability loss.
- A single net holds one mob at a time.
Full NBT preservation
When you capture a mob, the net saves the entity's complete NBT — not just the type. That means:
- Your named pets keep their names
- Pink sheep stay pink
- Tamed wolves still belong to you on release
- Baby chickens stay baby
- Modded entities with custom data extensions work transparently — no special compatibility patches needed
Rich tooltip
The net's tooltip tells you exactly what's inside, including:
- The mob's custom name (if any)
- Color / variant / breed (sheep color, cat coat, wolf type, axolotl variant, etc.)
- A "baby" marker for juveniles
Examples:
Contains: Bessie · Pink Sheep Contains: Wild Axolotl · baby Contains: Whiskers · Calico Cat
Modded mobs without a registered variant adapter degrade gracefully — they still show name + entity type, just without the variant prefix.
What can be captured
✅ Allowed: any passive or neutral living entity — animals, villagers, golems, allays, axolotls, modded creatures, etc.
❌ Blocked: players, bosses (Ender Dragon, Wither, Warden), and anything in the MONSTER mob category. A future reinforced net tier may unlock hostile capture.
Recipe
For modpack authors and other mod developers
This mod publishes the item tag #capturenet:nets, which contains all capture-net items shipped by any mod. If you're building a feature that should accept "any capture net" (e.g., a husbandry block, a custom recipe), read this tag rather than checking for specific item IDs.
Status
This is an early release. Planned future work:
- Reinforced Capture Net — a higher-tier net capable of capturing hostile mobs (single-use, expensive)
- Datapack tags for blocking/allowing specific entities per modpack
- Optional extended tooltip (shift-hold) with health, owner, etc.
License
CC0-1.0 — public domain, do anything you want with this code.
下载 Capture Nets
下载 Capture Nets
下载 Capture Nets
下载 Capture Nets
下载 Capture Nets
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Capture Nets
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Capture Nets
下载 Capture Nets
下载 Capture Nets
下载 Capture Nets
已修复
- Capture Crate + Hydrofarm beds: 箱子被错误地列在
#capturenet:nets标签中,而 Hydrofarm 的养殖床和屠宰床正是通过该标签来识别网具。由于箱子无法容纳养殖床单次转移单个动物的机制,因此当玩家手持空箱子潜行点击装有动物的养殖床时,动物会被拉出并落入一个箱子永远不会显示的槽位中——导致动物实际丢失。现已将该箱子移出该标签;养殖床现在会正确忽略它。(其他网具不受影响。)
备注
- 无其他更改。此修复与 Minecraft 26.3 版本线中的 v0.4.0 版本相同。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧