/effect¶
文档版本:1.21.60.21
/effect命令command.effect.description
执行条件
该命令需要权限等级:gamedirectors|1。该命令需要开启作弊。
用法¶
command.effect.1.description
player:target- 基本类型。command.effect.player.description
Mode:ClearEffects- 枚举类型。command.enum.cleareffects.description单值枚举,请直接使用
clear。 effect:Effect- 枚举类型,可选。command.enum.effect.description枚举值如下:
-
值 描述 withercommand.enum.effect.wither speedcommand.enum.effect.speed slownesscommand.enum.effect.slowness hastecommand.enum.effect.haste mining_fatiguecommand.enum.effect.mining_fatigue strengthcommand.enum.effect.strength instant_healthcommand.enum.effect.instant_health instant_damagecommand.enum.effect.instant_damage jump_boostcommand.enum.effect.jump_boost nauseacommand.enum.effect.nausea regenerationcommand.enum.effect.regeneration resistancecommand.enum.effect.resistance fire_resistancecommand.enum.effect.fire_resistance water_breathingcommand.enum.effect.water_breathing invisibilitycommand.enum.effect.invisibility blindnesscommand.enum.effect.blindness night_visioncommand.enum.effect.night_vision hungercommand.enum.effect.hunger weaknesscommand.enum.effect.weakness poisoncommand.enum.effect.poison health_boostcommand.enum.effect.health_boost absorptioncommand.enum.effect.absorption saturationcommand.enum.effect.saturation levitationcommand.enum.effect.levitation fatal_poisoncommand.enum.effect.fatal_poison conduit_powercommand.enum.effect.conduit_power slow_fallingcommand.enum.effect.slow_falling bad_omencommand.enum.effect.bad_omen village_herocommand.enum.effect.village_hero darknesscommand.enum.effect.darkness trial_omencommand.enum.effect.trial_omen wind_chargedcommand.enum.effect.wind_charged weavingcommand.enum.effect.weaving oozingcommand.enum.effect.oozing infestedcommand.enum.effect.infested raid_omencommand.enum.effect.raid_omen
command.effect.2.description
player:target- 基本类型。command.effect.player.description
effect:Effect- 枚举类型。command.enum.effect.description枚举值如下:
-
值 描述 withercommand.enum.effect.wither speedcommand.enum.effect.speed slownesscommand.enum.effect.slowness hastecommand.enum.effect.haste mining_fatiguecommand.enum.effect.mining_fatigue strengthcommand.enum.effect.strength instant_healthcommand.enum.effect.instant_health instant_damagecommand.enum.effect.instant_damage jump_boostcommand.enum.effect.jump_boost nauseacommand.enum.effect.nausea regenerationcommand.enum.effect.regeneration resistancecommand.enum.effect.resistance fire_resistancecommand.enum.effect.fire_resistance water_breathingcommand.enum.effect.water_breathing invisibilitycommand.enum.effect.invisibility blindnesscommand.enum.effect.blindness night_visioncommand.enum.effect.night_vision hungercommand.enum.effect.hunger weaknesscommand.enum.effect.weakness poisoncommand.enum.effect.poison health_boostcommand.enum.effect.health_boost absorptioncommand.enum.effect.absorption saturationcommand.enum.effect.saturation levitationcommand.enum.effect.levitation fatal_poisoncommand.enum.effect.fatal_poison conduit_powercommand.enum.effect.conduit_power slow_fallingcommand.enum.effect.slow_falling bad_omencommand.enum.effect.bad_omen village_herocommand.enum.effect.village_hero darknesscommand.enum.effect.darkness trial_omencommand.enum.effect.trial_omen wind_chargedcommand.enum.effect.wind_charged weavingcommand.enum.effect.weaving oozingcommand.enum.effect.oozing infestedcommand.enum.effect.infested raid_omencommand.enum.effect.raid_omen seconds:int- 基本类型,可选。command.effect.seconds.description
amplifier:int- 基本类型,可选。command.effect.amplifier.description
hideParticles:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否
command.effect.3.description
player:target- 基本类型。command.effect.player.description
effect:Effect- 枚举类型。command.enum.effect.description枚举值如下:
-
值 描述 withercommand.enum.effect.wither speedcommand.enum.effect.speed slownesscommand.enum.effect.slowness hastecommand.enum.effect.haste mining_fatiguecommand.enum.effect.mining_fatigue strengthcommand.enum.effect.strength instant_healthcommand.enum.effect.instant_health instant_damagecommand.enum.effect.instant_damage jump_boostcommand.enum.effect.jump_boost nauseacommand.enum.effect.nausea regenerationcommand.enum.effect.regeneration resistancecommand.enum.effect.resistance fire_resistancecommand.enum.effect.fire_resistance water_breathingcommand.enum.effect.water_breathing invisibilitycommand.enum.effect.invisibility blindnesscommand.enum.effect.blindness night_visioncommand.enum.effect.night_vision hungercommand.enum.effect.hunger weaknesscommand.enum.effect.weakness poisoncommand.enum.effect.poison health_boostcommand.enum.effect.health_boost absorptioncommand.enum.effect.absorption saturationcommand.enum.effect.saturation levitationcommand.enum.effect.levitation fatal_poisoncommand.enum.effect.fatal_poison conduit_powercommand.enum.effect.conduit_power slow_fallingcommand.enum.effect.slow_falling bad_omencommand.enum.effect.bad_omen village_herocommand.enum.effect.village_hero darknesscommand.enum.effect.darkness trial_omencommand.enum.effect.trial_omen wind_chargedcommand.enum.effect.wind_charged weavingcommand.enum.effect.weaving oozingcommand.enum.effect.oozing infestedcommand.enum.effect.infested raid_omencommand.enum.effect.raid_omen Mode:AddInfiniteEffect- 枚举类型。command.enum.addinfiniteeffect.description单值枚举,请直接使用
infinite。 amplifier:int- 基本类型,可选。command.effect.amplifier.description
hideParticles:Boolean- 枚举类型,可选。command.enum.boolean.description枚举值如下:
-
值 描述 true是 false否