02-block Cursor ruleA
02-block 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/02-block.mdc@git:20260914.2eeec47Pins git:20260914.2eeec47 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/02-block.mdc- Versions recorded
- 3
- Latest version
- git:20260914.2eeec47, committed Sep 14, 2026
- First version recorded
- Jul 11, 2026
- Size
- 6,564 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
# 02 — 方块开发 > 适用版本:Fabric 1.14.4 > Yarn:[`Block.Settings`](https://github.com/FabricMC/yarn/blob/1.14.4/mappings/net/minecraft/block/Block.mapping)(`of` / `strength` / `noCollision` / `dropsLike`) > FAPI 1.14 包名是 **`net.fabricmc.fabric.api.block.FabricBlockSettings`**(loader-api)。不要把后期 `object.builder.v1` 或 Mojmap `Block.Properties` 当本档默认。 --- ## 约束 ### 核心原则 - 方块必须在 `Registry.register(Registry.BLOCK, id, block)` 中注册 - 如需方块物品形态,在 `Registry.ITEM` 中注册同名 `BlockItem` - 方块类继承 `Block` 或其子类 - 原版用 `Block.Settings`;需要 `breakByTool` / `breakByHand` / `hardness`(单参数)时用 FAPI `FabricBlockSettings` - **禁止**在服务端直接创建客户端专用对象 --- ## Decision Flow ### Decision: 选择方块类型 ``` IF 简单静态方块 → new Block(Block.Settings.of(Material.STONE)) → 或 FabricBlockSettings.of(Material.STONE).build() / FabricBlockSettings.copy(Blocks.STONE).build() IF 可配置方块(如可交互、可放置) → 自定义 Block 子类(右键 Yarn 是 activate,不是 onUse) IF 方块需要存储数据(inventory 等) → 方块实现 BlockEntityProvider + 注册 BlockEntityType(Registry.BLOCK_ENTITY) IF 需要自定义渲染 → 重写 getRenderType,或 BlockEntity + 客户端 TESR/BER ``` --- ## Block.Settings / FabricBlockSettings …
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/02-block.mdc@sha256:bbdd9767121fa3e8The line at the top of this page pins the label git:20260914.2eeec47, 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_noovldfclqy4bif3)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Jul 11, 2026 and Sep 14, 2026, about one every 33 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260914.2eeec47 latest | 2026-09-14 | 2eeec47 | 6,564 B | A | view · diff |
| git:20260819.ca99162 | 2026-08-19 | ca99162 | 6,268 B | A | view · diff |
| git:20260711.586c86f | 2026-07-11 | 586c86f | 4,881 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6564 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_noovldfclqy4bif3 GET https://markdownregistry.com/api/v1/resolve?ref=guguzea/mc-ai-coding-assistant-tool/fabric/1.14.4/.cursor/rules/02-block.mdc GET https://markdownregistry.com/api/v1/blob/bbdd9767121fa3e8c2885168650a0039eb6dba13c059a03785611b21cae020bc
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.