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