即時回復の効果コマンド
minecraft:instant_health英語名 Instant Health
即時回復(minecraft:instant_health)は有益な効果です。即座に体力を回復します(アンデッドのMobにはダメージを与えます)。以下は、効果の付与・解除・ポーション作成に使うコマンドです。
よく使うコマンド
最も近いプレイヤーに付与(即時発動)
/effect give @p minecraft:instant_health 1 0
レベルII、持続時間1分
/effect give @p minecraft:instant_health 60 1
レベルは0から始まります。0がI、1がIIです
すべてのプレイヤー、無限、パーティクル非表示
/effect give @a minecraft:instant_health infinite 0 true
即時回復を解除
/effect clear @p minecraft:instant_health
即時回復のポーション(3分)
/give @p potion[potion_contents={custom_effects:[{id:"minecraft:instant_health",amplifier:0,duration:3600}]},custom_name={translate:"effect.minecraft.instant_health",italic:false}]持続時間の単位はティックです(20ティック = 1秒)
金ブロックの上に立つと付与
/execute as @a at @s if block ~ ~-1 ~ minecraft:gold_block run effect give @s minecraft:instant_health 2 0 true
リピートコマンドブロックに入れて常時実行
基本情報
- 効果ID
- minecraft:instant_health
- 種類
- 有益
- 効果
- 即座に体力を回復します(アンデッドのMobにはダメージを与えます)
その他の有益効果
データはMinecraft Java 26.3の公式データに基づいており、すべてのコマンドで26.3の構文チェックを行っています。