Minecraft /effect Command
플레이어나 몹에 상태 효과(속도, 독, 채굴 속도 향상, 힘 등)를 추가, 삭제 또는 해제합니다.
버전 호환성
명령어 문법
/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clear인수 설명
action (Java)give / clear필수Specify whether to bestow or wipe away potion effects.
targets / playerSelector / Player Name필수Target entity or players (e.g. @s, @p, @a[team=blue], @e[type=zombie]).
effectNamespaced Effect ID필수Status 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.
실용적인 예시
/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.
자주 발생하는 실수
실수:
Java Edition에서 "give" 서브 커맨드를 잊음
해결 방법:
Java에서는: /effect give @s speed 10 1 (/effect @s speed가 아님)
실수:
잘못된 효과 ID 사용
해결 방법:
올바른 ID 사용: speed, strength, night_vision 등 (소문자).
실수:
Java에서 지속 시간을 초로 하지만 틱과 혼동
해결 방법:
Java에서 지속 시간은 초 단위: /effect give @s speed 30 = 30초.
자바 vs 베드락 차이점
Java에서는 `/effect` 뒤에 `give` 또는 `clear` 서브 커맨드가 필요합니다. Bedrock는 `give`를 사용하지 않고 마지막에 `clear`를 배치합니다. 효과 ID도 다르며, Java는 `minecraft:speed` 같은 네임스페이스 접두사를 사용하고 Bedrock는 `speed`를 직접 사용합니다.
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".
유용한 팁
증폭기 0은 레벨 I, 1은 레벨 II 등 최대 255까지 올릴 수 있습니다.
"hideParticles true"로 포션 파티클을 숨기고 효과를 보이지 않게 할 수 있습니다.
Java에서 최대 지속 시간은 1,000,000초(약 11.5일)입니다.
/effect를 /execute와 결합하여 특정 조건에서 플레이어에게 효과를 줄 수 있습니다.
영구 효과를 위해 매우 큰 숫자를 설정하거나 Bedrock에서는 0을 설정하세요.
중요 참고사항
Java에서는 `/effect` 바로 뒤에 `give` 또는 `clear` 서브 커맨드가 필요합니다. Bedrock는 `give`를 사용하지 않고 줄 끝에 `clear`를 배치합니다.
자주 묻는 질문
영구 효과를 줄 수 있나요?
네, 999999 같은 큰 지속 시간을 설정하거나 Bedrock에서는 무한 지속을 위해 0을 설정하세요.
효과의 최대 레벨은?
증폭기 255(레벨 256에 해당)까지 올릴 수 있습니다.
플레이어의 모든 효과를 제거하려면?
/effect clear @a(Java) 또는 /effect @a clear(Bedrock)를 사용하세요.