Minecraft /effect Command
Adiciona, remove ou limpa efeitos de status (como Velocidade, Veneno, Pressa, Força) em jogadores ou mobs.
Compatibilidade de Versões
Sintaxe do Comando
/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clearArgumentos Explicados
action (Java)give / clearObrigatórioSpecify whether to bestow or wipe away potion effects.
targets / playerSelector / Player NameObrigatórioTarget entity or players (e.g. @s, @p, @a[team=blue], @e[type=zombie]).
effectNamespaced Effect IDObrigatórioStatus effect identifier (e.g. minecraft:speed, regeneration, night_vision).
secondsInteger / "infinite"Duration in seconds (up to 1,000,000) or "infinite" in modern Java.
amplifierInteger (0-255)Power level: 0 is Level I, 1 is Level II, up to 255 (maximum potency).
hideParticlesBooleanSet to true to hide ambient swirling potion bubbles from player vision.
Exemplos Práticos
/effect give @s minecraft:night_vision infinite 0 trueJava 1.20+: Gives yourself permanent Night Vision with invisible particles.
Standard mining and building quality-of-life setup.
/effect @s night_vision 9999 0 trueBedrock: Gives yourself 9,999 seconds of Night Vision with invisible particles.
Bedrock command syntax for clean night exploration.
/effect give @p minecraft:strength 300 2 falseGives the nearest player Strength III for 5 minutes (300 seconds).
PvP arena boss powerup.
/effect clear @aWipes all active status effects from every player in the world.
Resetting players after minigame rounds.
/effect clear @s minecraft:poisonRemoves specifically the Poison effect while keeping other buffs active.
Selective status cleanse.
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.
Diferenças entre Java e Bedrock
Java requer os subcomandos `give` ou `clear` após `/effect`. Bedrock não usa `give` e coloca `clear` no final. Os IDs de efeito também diferem: Java usa prefixos de namespace como `minecraft:speed`, enquanto Bedrock usa `speed` diretamente.
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".
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
Posso dar efeitos permanentes?
Sim, use uma duração muito alta como 999999 ou 0 para Bedrock para duração indefinida.
Qual é o nível máximo de um efeito?
Você pode chegar ao amplificador 255, que equivale ao nível 256.
Como removo todos os efeitos de um jogador?
Use /effect clear @a (Java) ou /effect @a clear (Bedrock).
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