Skip to content
Skillv1.0.0

keepinventory

死亡不掉落·无需开启作弊·保留成就·极限复活。

by Yinxe(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from Yinxe/MCBE (mcaddon/keepinventory/AGENTS.md). Install upstream with npx skills add Yinxe/MCBE --skill keepinventory. Copyright stays with the author.

KeepINventory — 死亡不掉落

死亡不掉落·无需开启作弊·保留成就·极限复活。

通用代码规范请参考根目录 CLAUDE.md


开发命令

just-scripts build       # TypeScript 编译
just-scripts mcaddon     # 构建 → 打包 .mcpack
just-scripts lint        # ESLint
just-scripts clean       # 清理

架构

scripts/
├── main.ts              # 入口

核心逻辑:worldLoad 时自动设置 gameRules.keepInventory = truegameRules.commandBlocksEnabled = true


依赖

版本
@minecraft/server 2.0.0
@minecraft/core-build-tasks 5.5.0

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/yinxe-mcbe-keepinventory/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

yinxe-mcbe-keepinventory.ocm.jsonjson
{
  "ocm": "1",
  "id": "yinxe-mcbe-keepinventory",
  "kind": "skill",
  "name": "keepinventory",
  "description": "死亡不掉落·无需开启作弊·保留成就·极限复活。",
  "publisher": "Yinxe",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "github-agents"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "死亡不掉落·无需开启作弊·保留成就·极限复活。"
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github-agents",
      "repository": "https://github.com/Yinxe/MCBE",
      "path": "mcaddon/keepinventory/AGENTS.md",
      "ref": "cd319ebd73d792cd3808ebc09f056d6fa15a9a04",
      "url": "https://github.com/Yinxe/MCBE/blob/cd319ebd73d792cd3808ebc09f056d6fa15a9a04/mcaddon/keepinventory/AGENTS.md",
      "key": "Yinxe/MCBE/mcaddon/keepinventory/AGENTS.md"
    }
  },
  "instructions": "# KeepINventory — 死亡不掉落\n\n死亡不掉落·无需开启作弊·保留成就·极限复活。\n\n> 通用代码规范请参考根目录 `CLAUDE.md`。\n\n---\n\n## 开发命令\n\n```bash\njust-scripts build       # TypeScript 编译\njust-scripts mcaddon     # 构建 → 打包 .mcpack\njust-scripts lint        # ESLint\njust-scripts clean       # 清理\n```\n\n---\n\n## 架构\n\n```\nscripts/\n├── main.ts              # 入口\n```\n\n核心逻辑:`worldLoad` 时自动设置 `gameRules.keepInventory = true` 与 `gameRules.commandBlocksEnabled = true`。\n\n---\n\n## 依赖\n\n| 包 | 版本 |\n|---|------|\n| @minecraft/server | 2.0.0 |\n| @minecraft/core-build-tasks | 5.5.0 |",
  "cost": {
    "context_tokens": 129
  }
}

Fetch it by URL: GET /api/v1/registry/yinxe-mcbe-keepinventory/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.