本文へスキップ
MC COMMANDS logoMC COMMANDS
コマンドリファレンス

Minecraft /effect Command

playerJava版統合版 (Bedrock)

プレイヤーまたはMobにステータス効果(スピード、毒、採掘速度上昇、力など)を追加、削除、またはクリアします。

バージョン対応

Java版:1.21.4 (1.13+)
統合版 (Bedrock):1.21.60

コマンド構文

Java版/effect give <targets> <effect> [<seconds>] [<amplifier>] [<hideParticles>] | /effect clear <targets> [<effect>]
統合版 (Bedrock)/effect <player> <effect> [seconds] [amplifier] [hideParticles: Boolean] | /effect <player> clear

引数の解説

実用的な使用例

beginnerJava版
/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.

beginner統合版 (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.

intermediate両エディション
/effect give @p minecraft:strength 300 2 false

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

PvP arena boss powerup.

beginner両エディション
/effect clear @a

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

Resetting players after minigame rounds.

intermediate両エディション
/effect clear @s minecraft:poison

Removes specifically the Poison effect while keeping other buffs active.

Selective status cleanse.

Advertisement

よくあるミス

ミス:

Java Editionで「give」サブコマンドを忘れる

修正方法:

Java版では: /effect give @s speed 10 1 (/effect @s speed ではない)

ミス:

間違った効果IDを使用する

修正方法:

正しいIDを使用: speed, strength, night_vision など(小文字)。

ミス:

Java版で持続時間を秒数にするがtickと混同する

修正方法:

Java版の持続時間は秒単位: /effect give @s speed 30 = 30秒。

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.

便利なヒント

  • 増幅器0はレベルI、1はレベルIIなど、最大255まで上げられます。

  • 「hideParticles true」でポーションのパーティクルを非表示にし、効果を控えめに保ちます。

  • Java版の最大持続時間は1,000,000秒(約11.5日)です。

  • /effectを/executeと組み合わせて、特定の条件下でプレイヤーに効果を与えることができます。

  • 永久効果には非常に大きな数値を設定するか、Bedrock版では0を設定してください。

重要な注意事項

Java版では`/effect`の直後に`give`または`clear`のサブコマンドが必要です。Bedrock版は`give`を使用せず、行の最後に`clear`を配置します。

よくある質問

関連コマンド

コマンドを作成しますか?

ビジュアルインターフェースで/effectコマンドをエラーなしに作成できるインタラクティブジェネレーター。

コマンドジェネレーターを開く
Advertisement