三叉戟指令
minecraft:trident英文名 Trident
三叉戟(minecraft:trident)不能堆叠,一格只能放 1 个。耐久 250。攻击伤害 9。下面是常用的给予、清除和检测命令,点“复制”就能用。
常用命令
给最近的玩家 1 个三叉戟
/give @p minecraft:trident
给所有玩家
/give @a minecraft:trident
金色的名字
/give @p trident[custom_name={translate:"item.minecraft.trident",color:"gold",italic:false}]想换成自己起的名字,把 translate 那段改成普通文字
带附魔(最高等级)
/give @p trident[enchantments={impaling:5,unbreaking:3,mending:1}]无法破坏(不掉耐久)
/give @p trident[unbreakable={}]清除玩家身上所有三叉戟
/clear @p minecraft:trident
检测手里是否拿着三叉戟
/execute as @a if items entity @s weapon.mainhand minecraft:trident run title @s actionbar ["",{text:"✔ ",color:"green"},{translate:"item.minecraft.trident"}]基本信息
- 物品 ID
- minecraft:trident
- 最大堆叠
- 1
- 耐久
- 250
- 稀有度
- 稀有
- 攻击伤害
- 9
- 攻击速度
- 1.1
- 附魔能力
- 1
- 类型
- 物品
能用在三叉戟上的附魔
数据来自 Minecraft Java 26.3 官方数据,命令都经过 26.3 语法检查。