01-registry Cursor ruleA
01-registry 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/01-registry.mdc@git:20260928.076820cPins git:20260928.076820c 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/01-registry.mdc- Versions recorded
- 4
- Latest version
- git:20260928.076820c, committed Sep 28, 2026
- First version recorded
- Jul 11, 2026
- Size
- 5,801 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
# 01 — 注册系统 > 适用版本:Fabric 1.14.4 > **本文件最重要,所有注册相关操作必须先读本文件。** --- ## 约束 ### 核心原则 - 必须 `Registry.register`;只 `new` 不注册的对象不会出现在游戏中 - **所有注册**必须在 `onInitialize()` 方法(或 entrypoint)中通过 `Registry.register()` 执行 - Fabric **没有** modEventBus,所有注册直接调用 `Registry` - mod ID 必须与 `fabric.mod.json` 中的 `id` 完全一致 - 使用 Yarn `Identifier`:`new Identifier(MOD_ID, "registry_name")`(不要写 MCP `ResourceLocation`) ### 注册时机 | 注册内容 | API | 代码位置 | |---------|-----|---------| | 方块 | `Registry.register(Registry.BLOCK, id, block)` | `onInitialize()` | | 物品 | `Registry.register(Registry.ITEM, id, item)` | `onInitialize()` | | 方块实体 | `Registry.register(Registry.BLOCK_ENTITY, id, type)` | `onInitialize()` | | 实体类型 | `Registry.register(Registry.ENTITY_TYPE, id, type)` | `onInitialize()` | | 粒子类型 | `Registry.register(Registry.PARTICLE_TYPE, id, type)` | `onInitialize()` | | 声音事件 | `Registry.register(Registry.SOUND_EVENT, id, soundEvent)` | `onInitialize()` | | 附魔 | `Registry.register(Registry.ENCHANTMENT, id, enchantment)` | `onInitialize()` | | 流体 | `Registry.register(Registry.FLUID, id, fluid)` | `onInitialize()` | …
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/01-registry.mdc@sha256:3a8839ae9f98e01dThe line at the top of this page pins the label git:20260928.076820c, 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_htmfexsypmbeo7oq)
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 Sep 28, 2026, about one every 26 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260928.076820c latest | 2026-09-28 | 076820c | 5,801 B | A | view · diff |
| git:20260819.ca99162 | 2026-08-19 | ca99162 | 5,735 B | A | view · diff |
| git:20260818.b1ccba0 | 2026-08-18 | b1ccba0 | 5,536 B | A | view · diff |
| git:20260711.586c86f | 2026-07-11 | 586c86f | 5,600 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5801 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_htmfexsypmbeo7oq GET https://markdownregistry.com/api/v1/resolve?ref=guguzea/mc-ai-coding-assistant-tool/fabric/1.14.4/.cursor/rules/01-registry.mdc GET https://markdownregistry.com/api/v1/blob/3a8839ae9f98e01de38d052b1b718f26f94306409f9403cfe46f68261ea25654
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.