/effect
Command
Add or clear status effects.
Permission Level | Game Directors |
---|---|
Requires Cheats? | Yes |
Usage
Clear effect
/effect <player: target> clear
Clear the effect for a target player.
Add effect
/effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean]
Add effect to target player with optional seconds
, amplifier
, and hideParticles
.
Arguments
amplifier
: int Aninteger
that may have been applied to this effect. Sample values range typically from 0 to 4. Default:0
.effect
: Effect Anenum
to specify the effect being added or removed.hideParticles
: Boolean ABoolean
that specifies the visual representation of the effect. Default:false
.player
: target The player to receive the effect. A player namestring
ortarget selector
to identify the player.seconds
: int Aninteger
that specifies the duration, in seconds, of this effect. Default:30
.
Enums
Effect
Effect
Values
wither
Witherspeed
Speedslowness
Slownesshaste
Hastemining_fatigue
Mining Fatiguestrength
Strengthinstant_health
Instant Healthinstant_damage
Instant Damagejump_boost
Jump Boostnausea
Nausearegeneration
Regenerationresistance
Resistancefire_resistance
Fire Resistancewater_breathing
Water Breathinginvisibility
Invisibilityblindness
Blindnessnight_vision
Night Visionhunger
Hungerweakness
Weaknesspoison
Poisonhealth_boost
Health Boostabsorption
Absorptionsaturation
Saturationlevitation
Levitationfatal_poison
Fatal Poisonconduit_power
Conduit Powerslow_falling
Slow Fallingbad_omen
Bad Omenvillage_hero
Village Herodarkness
Darknesstrial_omen
wind_charged
weaving
oozing
infested
raid_omen
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for