跳转至

/effect

文档版本:1.21.0.24

/effect命令command.effect.description

执行条件

该命令需要权限等级:gamedirectors|1。该命令需要开启作弊。

用法

/effect <player:target> clear

command.effect.1.description

playertarget
基本类型。command.effect.player.description
clearClearEffects
枚举类型。command.enum.cleareffects.description单值枚举,请直接使用clear
/effect <player:target> <effect:Effect> [seconds:int] [amplifier:int] [hideParticles:Boolean]

command.effect.2.description

playertarget
基本类型。command.effect.player.description
effectEffect
枚举类型。command.enum.effect.description枚举值如下:
描述
wither command.enum.effect.wither
speed command.enum.effect.speed
slowness command.enum.effect.slowness
haste command.enum.effect.haste
mining_fatigue command.enum.effect.mining_fatigue
strength command.enum.effect.strength
instant_health command.enum.effect.instant_health
instant_damage command.enum.effect.instant_damage
jump_boost command.enum.effect.jump_boost
nausea command.enum.effect.nausea
regeneration command.enum.effect.regeneration
resistance command.enum.effect.resistance
fire_resistance command.enum.effect.fire_resistance
water_breathing command.enum.effect.water_breathing
invisibility command.enum.effect.invisibility
blindness command.enum.effect.blindness
night_vision command.enum.effect.night_vision
hunger command.enum.effect.hunger
weakness command.enum.effect.weakness
poison command.enum.effect.poison
health_boost command.enum.effect.health_boost
absorption command.enum.effect.absorption
saturation command.enum.effect.saturation
levitation command.enum.effect.levitation
fatal_poison command.enum.effect.fatal_poison
conduit_power command.enum.effect.conduit_power
slow_falling command.enum.effect.slow_falling
bad_omen command.enum.effect.bad_omen
village_hero command.enum.effect.village_hero
darkness command.enum.effect.darkness
trial_omen command.enum.effect.trial_omen
wind_charged command.enum.effect.wind_charged
weaving command.enum.effect.weaving
oozing command.enum.effect.oozing
infested command.enum.effect.infested
raid_omen command.enum.effect.raid_omen
secondsint
基本类型,可选。command.effect.seconds.description
amplifierint
基本类型,可选。command.effect.amplifier.description
hideParticlesBoolean
枚举类型,可选。command.enum.boolean.description枚举值如下:
描述
true
false