更新日:
即時回復のIDとeffectコマンド
エフェクト「即時回復」(英語名:Instant Health)のIDは minecraft:instant_health です。即座に体力を回復します。アンデッドには逆にダメージとして働きます。Java 1.13 から現在まで同じIDです。
基本データ
| 日本語名 | 即時回復 |
|---|---|
| 英語名 | Instant Health |
| ID(Java版) | minecraft:instant_health |
| 種類 | 有益な効果 |
| 使えるJava版 | Java 1.13〜26.3 |
| 統合版 26.52 | 同じIDで使えます(実機確認済み) |
コピーして使えるコマンド
Java版
30秒かける
/effect give @p minecraft:instant_health 30 0レベルIIを60秒かける
/effect give @p minecraft:instant_health 60 1パーティクルを隠してかける
/effect give @p minecraft:instant_health 60 0 true無期限でかける(Java 1.19.4以降)
/effect give @p minecraft:instant_health infinite 0 trueこのエフェクトだけ消す
/effect clear @p minecraft:instant_health統合版
30秒かける
/effect @p instant_health 30 0パーティクルを隠してかける
/effect @p instant_health 60 0 trueすべてのエフェクトを消す
/effect @p clearバージョンごとの注意
このIDは Java 1.13 から最新の 26.3 まで変わっていません。
Java版は /effect give、統合版は give を付けずに /effect と書きます。秒数の代わりに infinite と書けるのは Java 1.19.4 以降です。
よくある質問
即時回復のIDは何ですか
minecraft:instant_health です。コマンドでは minecraft: を省いて instant_health とも書けます。
レベルはどう指定しますか
秒数の次の数字が強さです。0 がレベルI、1 がレベルII で、最大は 255 です。
パーティクルを消したい
コマンドの最後に true を付けると、パーティクルが表示されなくなります。