手冊:minecraft:combat_regenerationadds

出自Minecraft基岩版开发Wiki
資料驅動 實體 > minecraft:combat_regeneration
minecraft:combat_regenerationadds
附加包元件
元件所屬
元件型別
元件ID
-315365016
加入版本
?

提供回復I並移除玩家的挖掘疲勞效果。

模式[編輯]

combat_regenerationadds:
int "regeneration_duration": opt
bool "apply_to_self": opt
bool "apply_to_family": opt

結構[編輯]

  •  minecraft:combat_regenerationadds:根物件。
    •  regeneration_duration:實體將獲得生命恢复I的持續時間(以秒為單位)。預設5
    •  apply_to_self:,如果實體殺死目標,它是否會授予自己回復。預設false
    •  apply_to_family:實體在殺死目標時是否會授予同一家庭生物回復。預設false

範例[編輯]

字串型
"minecraft:combat_regeneration":{
    "regeneration_duration": 7,
    "apply_to_self": true,
    "apply_to_family": false
}

歷史[編輯]

基岩版
?加入了minecraft:combat_regeneration

錯誤[編輯]

關於minecraft:combat_regeneration的錯誤在國際版中由錯誤追蹤器維護,請在此回報錯誤。