07-script-api Cursor ruleA
07-script-api 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/bedrock/.cursor/rules/07-script-api.mdc@git:20261011.087abcfPins git:20261011.087abcf 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
bedrock/.cursor/rules/07-script-api.mdc- Versions recorded
- 6
- Latest version
- git:20261011.087abcf, committed Oct 11, 2026
- First version recorded
- Aug 13, 2026
- Size
- 2,413 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
# 07 — Script API 与实验开关
默认 **stable** `@minecraft/server`。用户点名 Beta 才允许。
## Decision Flow(禁止一刀切)
```
→ 未点名 Beta → 只生成 stable;不写 Beta 事件
→ 点名 "@minecraft/server-beta"(用户可能这么写;**不存在此发布名**,真实形态见下一条)或点名 Beta 事件
→ 允许生成;回复必须写「须在世界设置打开 Beta APIs」
→ pack:dependencies 写 module_name "@minecraft/server" + version "beta"(beta 走版本串,不是包名后缀)
→ 需要 eval → capabilities 写法**未核实**(Learn pack-manifest 无 `script_eval`)
→ 禁止 experimentalGameplay、禁止虚构 worldgen/experimental.json
→ min_engine_version < 约 1.19.80:对照该引擎归档,不要倒灌现行 capabilities
→ ≥ 1.19.80:世界实验 = level.dat 里 `experiments` compound,每个功能一个 **byte = 1**(关 = 删掉该 byte tag);「Beta APIs」对应键名 **`gametest`**。出处:wiki.bedrock.dev/nbt/enabling-experiments= **社区权威,非 Microsoft Learn 官方**,键名只用于手工改 level.dat 分诊,禁止当官方 API 写进 pack 文档。pack JSON 仍**打不开**该开关;Minecraft Education / BDS 无 GUI,只能手改 level.dat
→ UI → 只用 stable @minecraft/server-ui(stable/script-server-ui)
```
## 已核实约束
- BP manifest:`modules` 含 `type: script`、`language: javascript`、`entry`(scaffold:`scripts/main.js`);`dependencies` 含 `module_name: "@minecraft/server"`。
…Read the whole file at its exact version.
How to install
mdr add guguzea/mc-ai-coding-assistant-tool/bedrock/.cursor/rules/07-script-api.mdc@sha256:52077b57eeb106f7The line at the top of this page pins the label git:20261011.087abcf, 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_3kbuj3f7b46xz7gp)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Aug 13, 2026 and Oct 11, 2026, about one every 12 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261011.087abcf latest | 2026-10-11 | 087abcf | 2,413 B | A | view · diff |
| git:20260926.05ecc27 | 2026-09-26 | 05ecc27 | 2,266 B | A | view · diff |
| git:20260902.6f855a3 | 2026-09-02 | 6f855a3 | 2,099 B | A | view · diff |
| git:20260820.6484bd4 | 2026-08-20 | 6484bd4 | 1,743 B | A | view · diff |
| git:20260814.76af98c | 2026-08-14 | 76af98c | 1,699 B | A | view · diff |
| git:20260813.c8addfe | 2026-08-13 | c8addfe | 825 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (2413 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_3kbuj3f7b46xz7gp GET https://markdownregistry.com/api/v1/resolve?ref=guguzea/mc-ai-coding-assistant-tool/bedrock/.cursor/rules/07-script-api.mdc GET https://markdownregistry.com/api/v1/blob/52077b57eeb106f7805d07bc1b4eaa1da3f051e036f6849f53ddb721a762bd3b
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.