Skip to content
cccskills
FreePublished on GitHub

mc_cli_set_inventory

CLI版 mc-cli set-inventory コマンドの使い方。チェスト、ホッパー、ドロッパー等にアイテムをセットする前に読む。

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Minecraft インベントリ設定 Skill

このスキルは、Minecraft サーバー(Fabric)の HTTP API を使用して、指定した座標にあるブロック(チェスト、ホッパー、ドロッパー、ディスペンサーなど)のインベントリにアイテムをセットするためのものです。

使用方法

mc-cli ツールを使用して、以下のコマンドを実行します。

mc-cli set-inventory --pos <座標> --items '<JSON文字列>'

例: ファイルを指定してセット

mc-cli set-inventory --pos <座標> --items '@path/to/items.json'

引数

  • --pos: 対象ブロックの座標 "x,y,z" (整数、カンマ区切り)。
  • --items: セットするアイテム情報を含む JSON 配列([])、または @ を付けたファイルパス。デフォルトは [](空配列)。

入力形式 (JSON)

セットするアイテムのリストを JSON 配列形式で提供します。各要素は id(アイテム ID)と amount(数量)を持つオブジェクトです。

例: チェストへのアイテムセット

[
  {
    "id": "minecraft:redstone",
    "amount": 64
  },
  {
    "id": "minecraft:repeater",
    "amount": 16
  }
]

TIPS

  • このコマンドを実行すると、指定した座標のブロックにある既存のアイテムはすべて消去され、新しいリストの内容で上書きされます。
  • インベントリを完全に空にしたい場合は、--items '[]' を指定します。
  • 指定した座標にインベントリを持つブロックが存在しない場合、エラーが返されます。
  • スロット番号の指定は行えません。提供されたリストの順番に従って、インベントリの先頭スロットから順に配置されます。

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

レッドストーン回路の自動テストが失敗した際の切り分け・局所修正手順。get_blocks, interact_block, place_blocks を使ったデバッグ方法を定義する。

The English summary is being prepared. Showing the original description.

yadokari1130/MC-Redstone-AI6Updated Aug 23, 2026

レッドストーン回路の自動テストが失敗した際の切り分け・局所修正手順。CLI版の mc-cli get-blocks, interact-block, place-blocks を使ったデバッグ方法を定義する。

The English summary is being prepared. Showing the original description.

yadokari1130/MC-Redstone-AI6Updated Aug 23, 2026

agent 向けテキスト指示(skill / slash command / task プロンプト / CLAUDE.md 節 / コード生成プロンプト)を、バイアスを排した実行者に動かしてもらい、両面(実行者の自己申告 + 指示側メトリクス)で評価して反復改善する手法。改善が頭打ちになるまで回す。プロンプトや skill を新規作成・大幅改訂した直後、またはエージェントの挙動が期待通りにならない原因を指示側の曖昧さに求めたいときに使う。

The English summary is being prepared. Showing the original description.

yadokari1130/MC-Redstone-AI6Updated Aug 23, 2026

Minecraft のレッドストーン回路や構造物を設計するための、JSON データモデルの仕様と設計ガイドラインです。

The English summary is being prepared. Showing the original description.

yadokari1130/MC-Redstone-AI6Updated Aug 23, 2026

CLI版 mc-cli drop-items コマンドの使い方。ホッパーやコンテナに投入するアイテムを世界にドロップする時に読む。

The English summary is being prepared. Showing the original description.

yadokari1130/MC-Redstone-AI6Updated Aug 23, 2026

CLI版 mc-cli fill コマンドの使い方。土台作成や範囲消去(air)を行う前に読む。

The English summary is being prepared. Showing the original description.

yadokari1130/MC-Redstone-AI6Updated Aug 23, 2026

See all skills by yadokari1130

Report a problem with this skill