MineToolsminetools.cn ・Minecraft Javaツール

コンパスコマンド

minecraft:compass英語名 Compass

コンパス(minecraft:compass)は最大64個までスタックできます。よく使う付与・消去・確認コマンドです。「コピー」をクリックすると使えます。

よく使うコマンド

最も近いプレイヤーにコンパスを1個与える
/give @p minecraft:compass
1スタック(64個)を与える
/give @p minecraft:compass 64
すべてのプレイヤーに与える
/give @a minecraft:compass
金色の名前
/give @p compass[custom_name={translate:"item.minecraft.compass",color:"gold",italic:false}]

自分で付けた名前にするには、translateの部分を通常のテキストに変更します

プレイヤーからコンパスをすべて消去
/clear @p minecraft:compass
コンパスを手に持っているか確認
/execute as @a if items entity @s weapon.mainhand minecraft:compass run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.compass"}]
アイテムジェネレーターで編集(名前、エンチャント、属性など)

基本情報

アイテムID
minecraft:compass
最大スタック数
64
種類
アイテム

コンパスに使用できるエンチャント

データはMinecraft Java 26.3の公式データに基づいており、すべてのコマンドで26.3の構文チェックを行っています。