Pular para o conteúdo principal
MC COMMANDS logoMC COMMANDS
Referência do Comando

Minecraft /effect Command

playerEdição JavaEdição Bedrock

Adiciona, remove ou limpa efeitos de status (como Velocidade, Veneno, Pressa, Força) em jogadores ou mobs.

Compatibilidade de Versões

Edição Java:1.21.4 (1.13+)
Edição Bedrock:1.21.60

Sintaxe do Comando

Edição Java/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]
Edição Bedrock/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clear

Argumentos Explicados

Exemplos Práticos

beginnerEdição Java
/effect give @s minecraft:night_vision infinite 0 true

Java 1.20+: Gives yourself permanent Night Vision with invisible particles.

Standard mining and building quality-of-life setup.

beginnerEdição Bedrock
/effect @s night_vision 9999 0 true

Bedrock: Gives yourself 9,999 seconds of Night Vision with invisible particles.

Bedrock command syntax for clean night exploration.

intermediateAmbas as Edições
/effect give @p minecraft:strength 300 2 false

Gives the nearest player Strength III for 5 minutes (300 seconds).

PvP arena boss powerup.

beginnerAmbas as Edições
/effect clear @a

Wipes all active status effects from every player in the world.

Resetting players after minigame rounds.

intermediateAmbas as Edições
/effect clear @s minecraft:poison

Removes specifically the Poison effect while keeping other buffs active.

Selective status cleanse.

Advertisement

Erros Comuns

Erro:

Esquecer o subcomando "give" no Java Edition

Solução:

Java requer: /effect give @s speed 10 1 (não /effect @s speed)

Erro:

Usar IDs de efeito incorretos

Solução:

Use os IDs corretos: speed, strength, night_vision, etc. (em minúsculas).

Erro:

Confundir a duração em segundos com ticks no Java

Solução:

No Java a duração é em segundos: /effect give @s speed 30 = 30 segundos.

Command Block Usage & Automation

In Command Blocks, create passive healing sanctuaries or hazard zones using a Repeating Always Active block: "/effect give @a[distance=..15] regeneration 2 1 true" (the trailing true hides swirling potion bubbles to keep the screen clear). To clear status debuffs when players enter safe rooms, chain an Impulse block running "/effect clear @p".

Automation Tip: Command blocks require Operator permissions (permission level 2+) and cheats enabled. In Java Edition, command blocks can execute commands up to 32,767 characters long compared to the 256-character player chat limit.

Dicas Úteis

  • O amplificador 0 é nível I, 1 é nível II, etc. Você pode subir até 255.

  • Use "hideParticles true" para ocultar partículas de poção.

  • A duração máxima é de 1.000.000 segundos (aproximadamente 11,5 dias) no Java.

  • Você pode combinar /effect com /execute para dar efeitos sob certas condições.

  • Para efeitos permanentes, defina a duração para um número muito alto ou 0 no Bedrock.

Notas Importantes

Java requer os subcomandos `give` ou `clear` diretamente após `/effect`. Bedrock não usa `give` e coloca `clear` no final da linha.

Perguntas Frequentes

Comandos Relacionados

Pronto para criar seu comando?

Use nosso gerador interativo para criar comandos /effect sem erros com uma interface visual.

Abrir Gerador de Comandos
Advertisement