BOMBちょっとお洒落な攻略本を目指してJava 26.3 対応

/test

公開 2026年11月8日・更新 2026年11月8日

/test
書き方の数
17(1段目だけ)
必要な権限
OP レベル 2(「チートの許可」がオンなら使える)
広告

どんなコマンド?

ゲームテストを作ったり、実行したりするコマンドです。ゲームテストは、仕掛けが正しく動くかを自動で確かめるしくみです。主にデータパックやゲームの開発で使います。

使い方・ポイント

  • /test create bomb:my_test 5 5×5×5の大きさで、テスト bomb:my_test を作ります。bomb:my_test は自分で決めるIDです。
  • /test run minecraft:always_pass 標準で入っている、必ず成功するテストを実行します。
  • /test runclosest 一番近いテストを実行します。
  • /test runthese 近くにあるテストをすべて実行します。
  • /test stop 実行中のテストをすべて止めます。
  • /test clearall 周りにあるテストの構造物を消します。

書き方

/test clearall …/test clearthat …/test clearthese …/test create …/test locate …/test pos …/test resetclosest …/test resetthat …/test resetthese …/test run …/test runclosest …/test runfailed …/test runmultiple …/test runthat …/test runthese …/test stop …/test verify …

< > の中に書くもの

名前書くもの
<radius>整数
<id>名前(ID)
<width>整数
<height>整数
<depth>整数
<var>文字
<numberOfTimes>整数
<untilFailed>true か false
<rotationSteps>整数
<testsPerRow>整数
<onlyRequiredTests>true か false
<amount>整数

よくある質問

結果はどこで見られますか?

テストが終わると、実行した数と失敗した数がチャットに表示されます。

出典
  • ゲームのデータ: Minecraft Java Edition 26.3 のコマンドの一覧(書き方・権限)
数字は Java 版の値です。
広告

関連するページ RELATED