00-project-setup Cursor ruleA
00-project-setup 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/00-project-setup.mdc@git:20260918.7ca5a1fPins git:20260918.7ca5a1f 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/00-project-setup.mdc- Versions recorded
- 6
- Latest version
- git:20260918.7ca5a1f, committed Sep 18, 2026
- First version recorded
- Jul 11, 2026
- Size
- 5,732 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
# 00 — 项目结构与构建
> 适用版本:Fabric 1.14.4
---
## 约束
### Java 版本
- **必须使用 Java 8**(Fabric 1.14.4 要求;1.15+ 才需要更高版本)
- `build.gradle` 中声明 `sourceCompatibility = JavaVersion.VERSION_1_8`
- Gradle Wrapper 版本不低于 **Gradle 6.9.x**
- IDE(IDEA / VSCode)需配置相同的 JDK 版本
### Loom / Gradle 约束
#### 禁止的操作
- ❌ 不要混用 Fabric 的 `fabric-loom` 插件和 Forge 的 `forge` 插件
- ❌ 不要删除 `loom` 配置块中的必需行
- ❌ 不要在 `minecraft {}` 块中修改版本号(应通过 `dependencies` 或 `mappings` 配置)
- ❌ 不要在 `onInitialize()` 之外注册任何内容(Mixin 初始化除外)
#### 正确的构建命令
```bash
# 首次构建(下载所有依赖,耗时较长)
./gradlew build
# 跳过测试构建
./gradlew build --no-build-cache --rerun-tasks
# 仅重新编译资源文件
./gradlew processResources
# 刷新映射后的源码(修复 mappings 问题后执行;任务名以 ./gradlew tasks 为准)
./gradlew clean
./gradlew genSources
# 生成 IDE 项目文件
./gradlew idea # IntelliJ IDEA
./gradlew eclipse # Eclipse
./gradlew vscode # VS Code
```
### 版本号管理
- 所有版本号集中在 `gradle.properties` 管理,不硬编码在 `build.gradle`
- `gradle.properties` 必须包含:
```properties
minecraft_version=1.14.4
yarn_mappings=1.14.4+build.18
loader_version=0.3.7.111
fabric_api_version=0.28.5+1.14
mod_version=1.0.0
mod_id=examplemod
maven_group=com.example
```
### Mappings 约束
- Fabric 1.14.4 使用 **Yarn**
…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/00-project-setup.mdc@sha256:6cbeef1b0af52cf6The line at the top of this page pins the label git:20260918.7ca5a1f, 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_bmgasxuyjrgonj2v)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 11, 2026 and Sep 18, 2026, about one every 14 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260918.7ca5a1f latest | 2026-09-18 | 7ca5a1f | 5,732 B | A | view · diff |
| git:20260914.7102784 | 2026-09-14 | 7102784 | 5,684 B | A | view · diff |
| git:20260827.527ef8b | 2026-08-27 | 527ef8b | 5,597 B | A | view · diff |
| git:20260818.b1ccba0 | 2026-08-18 | b1ccba0 | 5,589 B | A | view · diff |
| git:20260817.2126da0 | 2026-08-17 | 2126da0 | 5,580 B | A | view · diff |
| git:20260711.586c86f | 2026-07-11 | 586c86f | 5,582 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (5732 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_bmgasxuyjrgonj2v GET https://markdownregistry.com/api/v1/resolve?ref=guguzea/mc-ai-coding-assistant-tool/fabric/1.14.4/.cursor/rules/00-project-setup.mdc GET https://markdownregistry.com/api/v1/blob/6cbeef1b0af52cf61651bce5bf3b8f494e1d4b0cd0318c709fb68f25c11c5b91
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.
More from guguzea/mc-ai-coding-assistant-tool
Every file in guguzea/mc-ai-coding-assistant-tool