Minecraft /effect Command
Aggiunge, rimuove o cancella effetti di stato (come Velocità, Velocezza, Forza) su giocatori o mob.
Compatibilità Versioni
Sintassi del Comando
/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clearArgomenti Spiegati
action (Java)give / clearObbligatorioSpecify whether to bestow or wipe away potion effects.
targets / playerSelector / Player NameObbligatorioTarget entity or players (e.g. @s, @p, @a[team=blue], @e[type=zombie]).
effectNamespaced Effect IDObbligatorioStatus 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.
Esempi Pratici
/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.
Errori Comuni
Errore:
Dimenticare il sotto-comando "give" in Java Edition
Correzione:
Java richiede: /effect give @s speed 10 1 (non /effect @s speed)
Errore:
Usare ID effetto sbagliati
Correzione:
Usa gli ID corretti: speed, strength, night_vision, ecc. (in minuscolo).
Errore:
Confondere la durata in secondi con i tick in Java
Correzione:
In Java la durata è in secondi: /effect give @s speed 30 = 30 secondi.
Differenze Java vs Bedrock
Java richiede i sotto-comandi `give` o `clear` dopo `/effect`. Bedrock non usa `give` e mette `clear` alla fine. Gli ID effetto differiscono anche: Java usa prefissi di namespace come `minecraft:speed`, mentre Bedrock usa `speed` direttamente.
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".
Suggerimenti Utili
L'amplificatore 0 è livello I, 1 è livello II, ecc. Puoi salire fino a 255.
Usa "hideParticles true" per nascondere le particelle delle pozioni.
La durata massima è di 1.000.000 secondi (circa 11,5 giorni) in Java.
Puoi combinare /effect con /execute per dare effetti sotto determinate condizioni.
Per effetti permanenti, imposta la durata su un numero molto alto o su 0 per Bedrock.
Note Importanti
Java richiede i sotto-comandi `give` o `clear` direttamente dopo `/effect`. Bedrock non usa `give` e mette `clear` alla fine della riga.
Domande Frequenti
Posso dare effetti permanenti?
Sì, usa una durata molto alta come 999999 o 0 per Bedrock per durata indefinita.
Qual è il livello massimo di un effetto?
Puoi arrivare all'amplificatore 255, che equivale al livello 256.
Come rimuovo tutti gli effetti da un giocatore?
Usa /effect clear @a (Java) o /effect @a clear (Bedrock).
Comandi Correlati
Pronto a creare il tuo comando?
Usa il nostro generatore interattivo per creare comandi /effect senza errori con un'interfaccia visuale.
Apri il Generatore di Comandi