Minecraft /tp Command
エンティティ(プレイヤー、Mobなど)を指定座標または目的地のエンティティにテレポートします。
バージョン対応
コマンド構文
/tp <targets> <destination> | /tp <targets> <x> <y> <z> [<yRot> <xRot>]引数の解説
targetsSelector / Player Name必須The entity or entities to teleport (e.g. @s, @p, @a[team=red], @e[type=horse]).
destinationSelector / Player NameThe destination entity to teleport targets directly to.
x y zCoordinatesDestination coordinate grid. Supports absolute (100 64 -200), relative (~ ~5 ~), or local caret (^ ^ ^2) coordinates.
yRot xRotRotation (Degrees)Optional facing rotation. yRot is horizontal yaw (-180 to 180), xRot is vertical pitch (-90 straight up to 90 straight down).
実用的な使用例
/tp @s 100 64 -250Teleports yourself to absolute world coordinates X=100, Y=64, Z=-250.
Standard waypoint navigation.
/tp @s ~ ~5 ~Teleports yourself 5 blocks straight up from your current position.
Great for getting unstuck or surveying surrounding terrain.
/tp @a 0 100 0 0 0Teleports all online players to world spawn, facing due South with a level horizon.
Setting precise spawn orientation for servers and lobbies.
/tp @e[type=item,distance=..15] @sTeleports all dropped item entities within 15 blocks directly into your position.
Instant item vacuum for mining pits or mob farm drops.
/tp @s ^ ^ ^5Teleports yourself exactly 5 blocks in the direction you are currently looking.
Local caret coordinates (^) move relative to player crosshair view.
よくあるミス
ミス:
Y座標が-64未満または320(Java)/256(Bedrock)以上の場所にテレポートする
修正方法:
ワールドの高さ制限内にとどめてください。
ミス:
サバイバルワールドでチートを有効にせず/tpを使用する
修正方法:
チートを有効にしてLANで公開するか、ワールド設定でチートを有効にしてください。
ミス:
相対座標の~記号を忘れる
修正方法:
相対座標には常に~を使用してください: /tp @s ~ ~5 ~
Java版と統合版の違い
両エディションが/tpの基本構文をサポートしています。ただし、Java版の/teleportコマンドにはBedrock版にはないサブコマンドとオプションがあります。
Command Block Usage & Automation
In Command Blocks, never rely on @s because the block itself cannot be moved as a player. Use @p for player-triggered teleporters (e.g. stepping on a pressure plate), or @a[distance=..3] for walk-in portal cuboids. For spawn or lobby warp pads, always supply rotation angles (e.g. "/tp @p 100 65 -50 90 0") so players land facing forward rather than staring at a blank wall.
便利なヒント
F3キー(Java)または「座標を表示」(Bedrock)を有効にして、テレポート前の現在位置を確認します。
相対座標(~)を使えば、正確な座標を計算せずに現在位置からの相対移動ができます。
地形が不明な場合は、座標よりも他のプレイヤーにテレポートする方が安全です。
プレイヤーだけでなく、Mobやアイテムもテレポートできます。
コマンドは即座に実行され、テレポートアニメーションや遅延はありません。
重要な注意事項
座標の後に角度(yaw/pitch)を追加してエンティティを回転できます。例: `/tp @s ~ ~ ~ 90 0` は東を向いたままテレポートします。
よくある質問
ディメンション間(ネザー、エンドなど)でテレポートできますか?
いいえ、/tpは同じディメンション内でのみ動作します。/execute in <dimension> run tpでディメンション間テレポートが可能です。
テレポート後に死亡しました。なぜ?
壁、溶岩、または高空にテレポートした可能性があります。座標が安全か事前に確認してください。
/tpと/teleportの違いは?
同じコマンドです。/teleportはフルネーム、/tpは短縮形です。