「 /execute 」 基本情報
| /execute |
![]() |
| JE | /execute |
information
・構文 /execute <サブコマンド>... run <コマンド>(サブコマンド: as/at/align/anchored/facing/in/on/positioned/rotated/summon/if/unless/store)
・権限 OP(レベル2)
メモ
・実行者・位置・条件・結果格納先を指定して他のコマンドを実行する
・使用例: /execute as @e[type=sheep] at @s run tp ^ ^ ^1(全ての羊を各自の向いている方向へ1ブロック移動)
・サブコマンドを連結して複雑な条件実行ができる、コマンド作品の最重要コマンド
