06-networking Cursor ruleA
06-networking from guguzea/mc-ai-coding-assistant-tool is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add guguzea/mc-ai-coding-assistant-tool/fabric/1.14.4/.cursor/rules/06-networking.mdc@git:20260827.8ccbbc4Pins git:20260827.8ccbbc4 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- guguzea/mc-ai-coding-assistant-tool
- Path
fabric/1.14.4/.cursor/rules/06-networking.mdc- Versions recorded
- 4
- Latest version
- git:20260827.8ccbbc4, committed Aug 27, 2026
- First version recorded
- Jul 11, 2026
- Size
- 5,120 bytes
- Repository stars
- 135
- License
- a license file GitHub does not identify
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# 06 — 网络通信 > 适用版本:Fabric 1.14.4 --- ## 约束 ### 核心原则 - 包 ID 用 Yarn `net.minecraft.util.Identifier` - 本档默认教程是 **networking v0**:`net.fabricmc.fabric.api.network.ClientSidePacketRegistry` / `ServerSidePacketRegistry`([FAPI javadoc](https://maven.fabricmc.net/docs/fabric-api-0.74.1+1.19.4/net/fabricmc/fabric/api/network/ServerSidePacketRegistry.html) 仍写明职责;1.14 同期就是这套) - **C2S 接收**在服务端:`ServerSidePacketRegistry.INSTANCE.register` - **S2C 接收**在客户端:`ClientSidePacketRegistry.INSTANCE.register`(`ClientModInitializer`) - **C2S 发送**:`ClientSidePacketRegistry.INSTANCE.sendToServer(id, buf)` - **S2C 发送**:`ServerSidePacketRegistry.INSTANCE.sendToPlayer(player, id, buf)` - 回调在网络线程:用 `packetContext.getTaskQueue().execute(...)`(loader-api:`PacketContext#getTaskQueue`,不是 `queue()`) - 不要编造 `PacketByteBuf.createUnpooled()`(Yarn `PacketByteBuf` 无此静态方法)。写 `new PacketByteBuf(Unpooled.buffer())` - 不要抄 1.16+ 当默认:`ServerPlayNetworking` / `PayloadTypeRegistry`。loader-api 摘要里若出现 `networking.v1`,只在工程 **确实依赖带 v1 的 FAPI jar** 时再用 - 依赖写完整 `fabric-api`,不要钉死 `fabric-networking-v0:0.1.3+...`,也不要编造 `fabric-entity-dragon-v0` - `fabric.mod.json` **没有** `network` 键;不需要为发包专门加 mixin --- ## Decision Flow …
Read the whole file at its exact version.
How to install
mdr add guguzea/mc-ai-coding-assistant-tool/fabric/1.14.4/.cursor/rules/06-networking.mdc@sha256:252b4afbb8579c84The line at the top of this page pins the label git:20260827.8ccbbc4, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_p5oqqhatugzcoyff)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 4 versions of this file, between Jul 11, 2026 and Aug 27, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260827.8ccbbc4 latest | 2026-08-27 | 8ccbbc4 | 5,120 B | A | view · diff |
| git:20260819.ca99162 | 2026-08-19 | ca99162 | 5,124 B | A | view · diff |
| git:20260818.b1ccba0 | 2026-08-18 | b1ccba0 | 4,284 B | A | view · diff |
| git:20260711.586c86f | 2026-07-11 | 586c86f | 4,275 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5120 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
guguzea/mc-ai-coding-assistant-tool · 135 stars · license a license file GitHub does not identify · pushed 2026-11-05 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_p5oqqhatugzcoyff GET https://markdownregistry.com/api/v1/resolve?ref=guguzea/mc-ai-coding-assistant-tool/fabric/1.14.4/.cursor/rules/06-networking.mdc GET https://markdownregistry.com/api/v1/blob/252b4afbb8579c84066c5f4a1dba88c06f03f99caf575eb12737f9ed6c126a94
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: Cursor rules vs AGENTS.md · which agent file does what.