NetUtils
一款强大的 Minecraft 协议调试、状态同步测试和网络分析网络工具。基于 Architectury API 构建,支持 Fabric 和 NeoForge。
本工具仅供教育和调试用途。 使用它来获得不公平优势或在多人服务器上进行漏洞利用违反了大多数服务器规则和平台服务条款。开发者不支持作弊/复制行为。请自行承担风险使用此模组,且仅在获得明确许可的地方使用。
本项目具体提供什么?
NetUtils 添加了一套全面的客户端调试工具,允许你以原版客户端无法实现的方式与 Minecraft 网络层进行交互:
- 数据包流量控制:拦截、延迟或完全切换出站数据包,以测试服务器的响应时间和处理逻辑。
- 库存状态操作:尝试客户端与服务器的不同步(例如,在本地关闭屏幕而不通知服务器),以测试状态处理逻辑。
- 详细数据提取:查看内部菜单信息(同步 ID、类名)、列出带有内部 ID 的村民交易,并检查 GUI 槽位元数据。
- 资源包管理:绕过或强制拒绝服务器请求的资源包,用于测试环境隔离。
- 增强的客户端命令:一套自定义命令系统(使用前缀
^)进行底层交互,包括原始数据包发送和循环执行。
为什么要使用 NetUtils?
- 模组与插件开发:如果你正在开发依赖复杂库存或网络逻辑的模组或服务器插件,NetUtils 是测试你的代码对“非法”或意外客户端状态的抗压能力的宝贵工具。
- 协议教育:非常适合希望通过在实时观察和操作数据包来理解 Minecraft 网络协议的开发者研究人员。
- 网络弹性测试:使用不同步和数据包延迟功能来验证服务器的反作弊或状态恢复系统是否稳健。
关键信息与安全性
- 多人游戏使用:在公共服务器上使用可能会导致永久封禁。它旨在用于私有开发环境。
- 兼容性:需要 Minecraft 1.21.11+ 和 Architectury API。
功能特性
- 数据包控制:延迟或切换出站数据包。
- 同步:模拟客户端-服务器不同步以进行状态处理测试。
- 库存控制:在不向服务器发送数据包的情况下关闭库存屏幕。
- 资源包控制:绕过或强制拒绝服务器资源包。
使用方法
按 V 键恢复上次关闭的屏幕。
客户端命令
所有命令均使用 ^ 前缀,可以在普通聊天或自定义聊天输入字段中输入。
^help- 显示所有命令^toggle- 启用/禁用模组功能^menuinfo- 显示 GUI 信息(类、槽位、同步 ID)^trades- 列出带有 ID 的村民交易^trade <id>- 自动选择并执行交易^click <slot> [button] [type]- 点击特定的库存槽位^loop <n> <command>- 重复命令n次^desync- 同步/不同步库存状态^clear- 清除聊天日志^packets- 列出可用于^rawsend的数据包类型^rawsend <times> <packet> [args]- 强制向服务器发送原始数据包^save/^load- 保存或恢复当前屏幕状态
许可证
本项目采用 MIT 许可证授权 - 详见 LICENSE 文件。
NetUtils
A powerful networking utility for Minecraft protocol debugging, state synchronization testing, and network analysis. Built on the Architectury API for Fabric and NeoForge.
This tool is for educational and debugging purposes only. Using it to gain an unfair advantage or perform exploits on multiplayer servers is a violation of most server rules and platform terms of service. The developers do not condone cheating/duping. Use this mod at your own risk and only where you have explicit permission.
What specifically does this project provide?
NetUtils adds a comprehensive suite of client-side debugging tools that allow you to interact with the Minecraft networking layer in ways the vanilla client cannot:
- Packet Flow Control: Intercept, delay, or completely toggle outgoing packets to test server-side response times and handling.
- Inventory State Manipulation: Experiment with client-server desynchronization (e.g., closing screens locally without notifying the server) to test state handling logic.
- Detailed Data Extraction: View internal menu information (Sync IDs, Class names), list villager trades with internal IDs, and inspect GUI slot metadata.
- Resource Pack Management: Bypass or force-deny server-requested resource packs for testing environment isolation.
- Enhanced Client-Side Commands: A custom command system (using the
^prefix) for low-level interaction, including raw packet sending and loop execution.
Why should you use NetUtils?
- Mod & Plugin Development: If you are developing a mod or server plugin that relies on complex inventory or networking logic, NetUtils is an invaluable tool for stress-testing your code against "illegal" or unexpected client states.
- Protocol Education: Perfect for developers and researchers who want to understand the Minecraft networking protocol by observing and manipulating packets in real-time.
- Network Resilience Testing: Use the desynchronization and packet delay features to verify that your server's anti-cheat or state-recovery systems are robust.
Critical Information & Safety
- Multiplayer Usage: Using this on public servers will likely result in a permanent ban. It is intended for use in private development environments.
- Compatibility: Requires Minecraft 1.21.11+ and the Architectury API.
Features
- Packet Control: Delay or toggle outgoing packets.
- Synchronization: Simulate client-server desynchronization for state handling tests.
- Inventory Control: Close inventory screens without sending packets to the server.
- Resource Pack Control: Bypass or force-deny server resource packs.
Usage
Press V to restore the last closed screen.
Client Commands
All commands use the ^ prefix and can be typed in regular chat or the custom chat input field.
^help- Show all commands^toggle- Enable/disable mod features^menuinfo- Display GUI info (class, slots, sync ID)^trades- List villager trades with IDs^trade <id>- Automatically select and execute a trade^click <slot> [button] [type]- Click a specific inventory slot^loop <n> <command>- Repeat a commandntimes^desync- Synchronize/Desynchronize inventory state^clear- Clear the chat log^packets- List available packet types for^rawsend^rawsend <times> <packet> [args]- Force send raw packets to the server^save/^load- Save or restore the current screen state
License
This project is licensed under the MIT License - see the LICENSE file for details.
下载 NetUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NetUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NetUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NetUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NetUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 NetUtils
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
实现部分命令补全
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
让你能够在世界中的任何位置定位结构。
模组
? 使用命令保存和加载玩家或他人的背包/套装。
模组
一堆修复
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
一个基于构建器的 Minecraft 配置库!
模组
所有本应存在的事物
评论 0
登录后参与评分
还没有评论,来抢沙发吧