Salta al contenuto principale
MC COMMANDS logoMC COMMANDS
Riferimento del Comando

Minecraft /effect Command

playerEdizione JavaEdizione Bedrock

Aggiunge, rimuove o cancella effetti di stato (come Velocità, Velocezza, Forza) su giocatori o mob.

Compatibilità Versioni

Edizione Java:1.21.4 (1.13+)
Edizione Bedrock:1.21.60

Sintassi del Comando

Edizione Java/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]
Edizione Bedrock/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clear

Argomenti Spiegati

Esempi Pratici

beginnerEdizione 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.

beginnerEdizione 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.

intermediateEntrambe le Edizioni
/effect give @p minecraft:strength 300 2 false

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

PvP arena boss powerup.

beginnerEntrambe le Edizioni
/effect clear @a

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

Resetting players after minigame rounds.

intermediateEntrambe le Edizioni
/effect clear @s minecraft:poison

Removes specifically the Poison effect while keeping other buffs active.

Selective status cleanse.

Advertisement

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.

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.

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

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
Advertisement