Skip to content
cccskills
FreePublished on GitHub

minecraft_block_comparator

レッドストーンコンパレーターの向き(facing)、mode(compare/subtract)、connects配置の仕様。comparator使用時に必ず読む。

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

See how to install

Files included (1)

  • SKILL.md3.6 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

レッドストーンコンパレーターの詳細仕様

Block ID

  • minecraft:comparator

プロパティ (Block States)

  • facing: north, south, east, west
    • 【重要】向きの仕様 (Minecraft準拠): facing は 「入力側(背面)」 を向いている方角を指します。
    • 出力側: facing で指定した方向の 真反対 へ信号を出力します。
    • 具体例:
      • facing: "north" の場合:北から主入力を受け取り、南へ出力します。
      • facing: "east" の場合:東から主入力を受け取り、西へ出力します。
      • facing: "south" の場合:南から主入力を受け取り、北へ出力します。
      • facing: "west" の場合:西から主入力を受け取り、東へ出力します。
  • mode: compare (比較モード), subtract (減算モード)
  • powered: true, false (出力があるかどうか)

配置ガイドライン

  • connects の完全義務化: コンパレーターを配置する際は、いかなる場合でも必ず connects を使用してください。直接 blocks にコンパレーターを配置し、手動で facing プロパティを指定することは完全に禁止されています。
  • 配置時の src と dst の指定方法:
    • src: 信号の背面主入力元となるブロックの座標(コンパレーターの背面)を指定します。
    • dst: 信号の出力先となるブロックの座標(コンパレーターの前面)を指定します。
    • component: "minecraft:comparator"
    • 具体例: [10, 65, 10](入力元)から [12, 65, 10](出力先)に向けてコンパレーターを配置する場合、connects は以下のようになります(中間の [11, 65, 10] にコンパレーターが自動配置され、facing=west、つまり東側から入力を受け取り西側へ出力します)。
      "connects": [
        {
          "src": [10, 65, 10],
          "dst": [12, 65, 10],
          "component": "minecraft:comparator"
        }
      ]
      
  • 不透明なフルブロックや上面が平らなブロックの上に設置可能です。

操作 (Interaction)

  • レッドストーンコンパレーターを右クリック(インタラクト)することで、「比較モード」と「減算モード」を切り替えることができます。
  • 背面の小さなレッドストーントーチが消灯していれば比較モード、点灯していれば減算モードです。

機能・特性

  • 信号の比較(比較モード): 背面入力が側面入力以上であれば、背面入力と同じ強度の信号を出力します。側面入力の方が強い場合、出力は0になります。
  • 信号の減算(減算モード): 背面入力から側面入力(左右の強い方)を引いた強度の信号を出力します。
  • コンテナ検知: 背面にチェスト、ホッパー、ディスペンサーなどのインベントリを持つブロックがある場合、その中身の量に応じた信号強度を出力します。
  • 遅延: 信号の変化に対して2ゲームティック(1レッドストーンティック)の遅延があります。

使用方法

  • 信号強度の計算、アイテム量の検知、クロック回路、論理ゲートの作成などに使用されます。

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