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