Faster, stronger, deadlier are just some of the possibilities.
The /effect command allows status effects to be cast on players or other entities. Many of the the effects can be given by elements already in the game, such as potions, food or spells.
The command is "/effect" followed by a target, the name of the effect, the number of seconds for the effect to last, the power of the effect (The maximum power for an effect is 255) and true or false to add or remove an effect (true or false is optional). When an effect is added, particles will swirl around the entity. The player can see their own effects at the right side of their screen.You can clear all effect with "/effect [target] clear".
Syntax:
/effect [target] [name of effect] [time in seconds] [power of effect (0-255)] [true OR false (optional)]
/effect [target] clear
Here are some examples of effects:
Name | Command argument | Description |
---|---|---|
Speed | speed | Run faster |
Slowness | slowness | Run slower |
Haste | haste | Increases attack speed and mining speed |
Mining Fatigue | mining_fatigue | Decreases attack speed and mining speed |
Strength | strength | Increases melee damage |
Instant Health | instant_health | Heals (but damages undead) |
Instant Damage | instant_damage | Hurts (but heals undead) |
Jump Boost | jump_boost | Makes you jump higher and reduces fall damage |
Nausea | nausea | Creates a drunk effect |
Regeneration | regeneration | Heals over time |
Resistance | resistance | reduces damage |
Fire Resistance | fire_resistance | immune to burning |
Water Breathing | water_breathing | You can breathe underwater |
Invisibility | invisibility | Makes the player invisible, but armor and weapon can still be seen |
Blindness | blindness | Limits the distance you can see and disables sprint and critical hit |
Night Vision | night_vision | See in the dark |
Hunger | hunger | Players get hungry faster |
Weakness | weakness | Reduces melee damage |
Poison | poison | Damage over time but can't kill |
Wither | wither | Damage over time and can kill |
Health Boost | health_boost | Increases maximum health |
Absorption | absorption | Reduces damage |
Saturation | saturation | Makes you less hungry |
Levitation | levitation | Make you go up |
Fatal Poison | fatal_poison | Damage over time and can kill |
Conduit Power | conduit_power | Increases visibility underwater, prevents drowning and boosts mining speed |
Slow Falling | slow_falling | Makes you fall slower |
Bad Omen | bad_omen | Makes an illager raid start when you enter a village |
Hero of the Village | village_hero | Discounts trades |
Source: https://minecraft.gamepedia.com
Previous lesson: Summoning entities | Next lesson: Giving items