Skip to content
cccskills
FreePublished on GitHub

mc_cli_interact_block

CLI版 mc-cli interact-block コマンドの使い方。レバー、ボタン、ドア等を操作・テストする前に読む。

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

See how to install

Files included (1)

  • SKILL.md2.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Minecraft ブロック操作 Skill

このスキルは、Minecraft サーバー(Fabric)の HTTP API を使用して、指定した座標にあるブロック(レバー、ボタンなど)に対してインタラクト操作を実行するためのものです。

使用方法

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

mc-cli interact-block --pos <座標> [--pos1 <開始座標> --pos2 <終了座標> --delay <待機チック数>]

引数

  • --pos: 操作対象のブロックの座標 "x,y,z"(整数)。
  • --pos1: (任意) 操作後に状態を確認したい範囲の開始座標 "x,y,z"。
  • --pos2: (任意) 操作後に状態を確認したい範囲の終了座標 "x,y,z"。
  • --delay: (任意) 操作から状態確認までの待機時間(ゲームチック単位。1チック=50ms)。デフォルトは 0。
    • インタラクトの結果は即時反映されるものではありません。適切な遅延を挟み、確実に動作が完了した後に状態が取得されるようにしてください。
  • --url: (任意) サーバーの URL。デフォルトは http://localhost:8080。

出力形式

コマンドの実行結果は、成功・失敗のステータスを含む JSON 形式で出力されます。 --pos1 / --pos2 が指定された場合、data フィールドに指定範囲のブロック情報が含まれます。指定されない場合は、メッセージのみが返されます。

成功時のレスポンス例(座標指定なし)

{
  "success": true,
  "message": "ブロックの操作に成功しました"
}

成功時のレスポンス例(座標指定あり)

{
  "success": true,
  "data": [
    [
      ["minecraft:redstone_wire", [0, 100, 1], {"power": "15"}]
    ]
  ]
}

TIPS

  • 回路の動作確認(レバーを引く、ボタンを押す等)に使用します。
  • この操作は「右クリック」に相当します。対象がレバーであれば ON/OFF が切り替わり、ボタンであれば一定時間 ON になります。
  • --pos1 等の座標と --delay を併用することで、操作によって回路がどのように変化したかを一度のコマンド実行で確認できます。
  • 具体的なブロック情報の形式については mc_cli_get_blocks スキルを参照してください。
  • 座標はすべて "x,y,z" (整数、カンマ区切り) の形式で指定します。

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