急迫效果指令
minecraft:haste英文名 Haste
急迫(minecraft:haste)是有益的状态效果。挖掘速度和攻击速度加快。下面是给予、清除和做成药水的命令。
常用命令
给最近的玩家 30 秒(I 级)
/effect give @p minecraft:haste 30 0
等级 II,持续 1 分钟
/effect give @p minecraft:haste 60 1
等级从 0 开始数:0 是 I 级,1 是 II 级
所有玩家,永久,不显示粒子
/effect give @a minecraft:haste infinite 0 true
清除急迫
/effect clear @p minecraft:haste
急迫药水(3 分钟)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:haste",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.haste",italic:false}]duration 的单位是刻(20 刻 = 1 秒)
站在金块上时获得
/execute as @a at @s if block ~ ~-1 ~ minecraft:gold_block run effect give @s minecraft:haste 2 0 true
放进循环命令方块里一直运行
基本信息
- 效果 ID
- minecraft:haste
- 类型
- 有益
- 作用
- 挖掘速度和攻击速度加快
其他有益效果
数据来自 Minecraft Java 26.3 官方数据,命令都经过 26.3 语法检查。