/rotate
公開 2026年11月8日・更新 2026年11月8日
- 書き方の数
- 4
- 必要な権限
- OP レベル 2(「チートの許可」がオンなら使える)
広告
どんなコマンド?
プレイヤーやMobの向きを変えるコマンドです。角度を数字で決めるほか、ある座標や別のエンティティの方を向かせることもできます。
使い方・ポイント
/rotate @s 0 0自分を南の水平方向に向けます。/rotate @s ~90 ~今の向きから右へ90度回ります。/rotate @s facing 0 64 0座標 0 64 0 の方を向きます。/rotate @e[type=minecraft:villager,sort=nearest,limit=1] facing entity @s eyes一番近い村人を、自分の目の方に向かせます。
書き方
/rotate <target> facing entity <facingEntity>/rotate <target> facing entity <facingEntity> <facingAnchor>/rotate <target> facing <facingLocation>/rotate <target> <rotation>< > の中に書くもの
| 名前 | 書くもの |
|---|---|
<target> | 対象(プレイヤーやエンティティ。@p・@a・@s など) |
<facingEntity> | 対象(プレイヤーやエンティティ。@p・@a・@s など) |
<facingLocation> | 座標(x y z) |
<rotation> | 向き |
よくある質問
/tp との違いは?
/rotate は向きを変えるだけのコマンドです。位置は指定しません。
対象を複数にできますか?
できません。1体だけを選ぶように limit=1 などで絞ります。
出典
- ゲームのデータ: Minecraft Java Edition 26.3 のコマンドの一覧(書き方・権限)
広告

