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