追溯指针指令
minecraft:recovery_compass英文名 Recovery Compass
追溯指针(minecraft:recovery_compass)最多堆叠 64 个。下面是常用的给予、清除和检测命令,点“复制”就能用。
常用命令
给最近的玩家 1 个追溯指针
/give @p minecraft:recovery_compass
给一组(64 个)
/give @p minecraft:recovery_compass 64
给所有玩家
/give @a minecraft:recovery_compass
金色的名字
/give @p recovery_compass[custom_name={translate:"item.minecraft.recovery_compass",color:"gold",italic:false}]想换成自己起的名字,把 translate 那段改成普通文字
清除玩家身上所有追溯指针
/clear @p minecraft:recovery_compass
检测手里是否拿着追溯指针
/execute as @a if items entity @s weapon.mainhand minecraft:recovery_compass run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.recovery_compass"}]基本信息
- 物品 ID
- minecraft:recovery_compass
- 最大堆叠
- 64
- 稀有度
- 罕见
- 类型
- 物品
数据来自 Minecraft Java 26.3 官方数据,命令都经过 26.3 语法检查。