レッドストーン回路の自動テストが失敗した際の切り分け・局所修正手順。get_blocks, interact_block, place_blocks を使ったデバッグ方法を定義する。
The English summary is being prepared. Showing the original description.
CLI版 mc-cli place-blocks コマンドの引数形式、PlaceRequest、フェーズ配列、connects/attaches の使い方。ブロック配置前に必ず読む。
The English summary is being prepared. Showing the original description.
See how to installReview the instructions the agent will receive before you install.
このスキルは、Minecraft サーバー(Fabric)の HTTP API を使用して、指定した座標にブロックを一括で配置するためのものです。
mc-cli ツールを使用して、以下のコマンドを実行します。
mc-cli place-blocks --blocks '<JSON文字列>'
または、ファイルを指定して配置します。
mc-cli place-blocks --blocks '@path/to/blocks.json'
--blocks: 配置するブロック情報を含む JSON 文字列。または、@ を付けたファイルパス。--url: (任意) サーバーの URL。デフォルトは http://localhost:8080。--allow-direct-facing: (任意) blocks に minecraft:repeater / minecraft:comparator / minecraft:observer を直接配置することを許可する。デフォルトは禁止。配置するブロックのデータは、blocks, entities, attaches, connects, fills のリストを持つオブジェクト(PlaceRequest 形式)です。また、**配列 [ {...}, {...} ] 形式(フェーズ)**も使用可能です。フェーズを使用すると、ブロック配置を複数の段階に分けて順番に実行でき、レッドストーン回路(ピストンの準接続やオブザーバーの更新検知など)で「配置順序」が重要な場合に有用です。フェーズ間には自動的に1tickの待機が入ります。
[!IMPORTANT] よくある間違いと構造の厳密化 配置ツールの入力(
blocks引数またはJSONファイル)は、単なるブロックデータの配列[ {x, y, z, block}, ... ]ではありません。必ず以下のようにPlaceRequest形式のオブジェクト(キー名blocksを持つオブジェクト)としてラップするか、またはそのフェーズ配列にしてください。正しい単一フェーズ形式の例:
{ "blocks": [ { "x": 10, "y": 64, "z": 10, "block": "minecraft:stone" } ] }正しい複数フェーズ(配列)形式の例:
[ { "blocks": [ { "x": 10, "y": 64, "z": 10, "block": "minecraft:stone" } ] }, { "blocks": [ { "x": 10, "y": 65, "z": 10, "block": "minecraft:redstone_wire" } ] } ]
entities フィールドを使用すると、ブロックと同時にエンティティをスポーンさせることができます。各エンティティには以下の情報を指定します。
uuid: (任意) エンティティの一意な識別子。未指定時は自動生成されます。type: エンティティの種類(例: minecraft:boat, minecraft:minecart)。x, y, z: スポーン座標(小数)。yaw: (任意) 水平方向の向き(度数法)。pitch: (任意) 垂直方向の向き(度数法)。nbt: (任意) エンティティに適用するNBTデータ(例: {"Type": "oak"})。{
"blocks": [
{ "x": 10, "y": 64, "z": 10, "block": "minecraft:water" }
],
"entities": [
{
"type": "minecraft:boat",
"x": 10.5,
"y": 64.5,
"z": 10.5,
"yaw": 90.0,
"nbt": { "Type": "oak" }
}
]
}
詳細なデータモデルの仕様については、block_design スキル を参照してください。
[!WARNING] repeater / comparator / observer の直接配置禁止 これらのブロックは向きを誤る可能性が極めて高いため、
blocksに直接入れることは原則禁止されています。必ずconnectsのsrc(入力元)とdst(出力先)を使用して向きを自動計算させてください。 意図的に直接配置する場合のみ--allow-direct-facingフラグを指定できます(推奨しません)。
connects の src/dst は信号の流れる方向を表します。src 側が入力、dst 側が出力です。No reviews yet. Tell others what you thought.
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.
レッドストーン回路の自動テストが失敗した際の切り分け・局所修正手順。get_blocks, interact_block, place_blocks を使ったデバッグ方法を定義する。
The English summary is being prepared. Showing the original description.
レッドストーン回路の自動テストが失敗した際の切り分け・局所修正手順。CLI版の mc-cli get-blocks, interact-block, place-blocks を使ったデバッグ方法を定義する。
The English summary is being prepared. Showing the original description.
agent 向けテキスト指示(skill / slash command / task プロンプト / CLAUDE.md 節 / コード生成プロンプト)を、バイアスを排した実行者に動かしてもらい、両面(実行者の自己申告 + 指示側メトリクス)で評価して反復改善する手法。改善が頭打ちになるまで回す。プロンプトや skill を新規作成・大幅改訂した直後、またはエージェントの挙動が期待通りにならない原因を指示側の曖昧さに求めたいときに使う。
The English summary is being prepared. Showing the original description.
Minecraft のレッドストーン回路や構造物を設計するための、JSON データモデルの仕様と設計ガイドラインです。
The English summary is being prepared. Showing the original description.
CLI版 mc-cli drop-items コマンドの使い方。ホッパーやコンテナに投入するアイテムを世界にドロップする時に読む。
The English summary is being prepared. Showing the original description.
CLI版 mc-cli fill コマンドの使い方。土台作成や範囲消去(air)を行う前に読む。
The English summary is being prepared. Showing the original description.