2021-10-08 12:59:03 +02:00
|
|
|
{
|
2021-10-08 13:04:13 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.minecraft.combat_regeneration",
|
2021-10-08 12:59:03 +02:00
|
|
|
"type": "object",
|
2021-10-08 13:04:13 +02:00
|
|
|
"title": "Combat Regeneration",
|
2021-10-08 12:59:03 +02:00
|
|
|
"description": "Gives Regeneration I and removes Mining Fatigue from the mob that kills the Actor`s attack target.",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"apply_to_family": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
|
|
|
|
"description": "Determines if the mob will grant mobs of the same type combat buffs if they kill the target.",
|
|
|
|
|
"title": "Apply To Family"
|
|
|
|
|
},
|
|
|
|
|
"apply_to_self": {
|
|
|
|
|
"type": "boolean",
|
|
|
|
|
"default": false,
|
|
|
|
|
"description": "Determines if the mob will grant itself the combat buffs if it kills the target.",
|
|
|
|
|
"title": "Apply To Self"
|
|
|
|
|
},
|
|
|
|
|
"regeneration_duration": {
|
2025-03-03 12:44:05 +05:00
|
|
|
"anyOf": [
|
|
|
|
|
{
|
|
|
|
|
"type": "integer",
|
|
|
|
|
"default": 5,
|
|
|
|
|
"minimum": 0
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"const": "infinite"
|
|
|
|
|
}
|
|
|
|
|
],
|
2021-10-08 12:59:03 +02:00
|
|
|
"description": "The duration in seconds of Regeneration I added to the mob.",
|
|
|
|
|
"title": "Regeneration Duration"
|
|
|
|
|
}
|
2021-10-11 18:10:42 +02:00
|
|
|
},
|
|
|
|
|
"examples": [
|
|
|
|
|
{
|
|
|
|
|
"apply_to_family": false,
|
|
|
|
|
"apply_to_self": false,
|
|
|
|
|
"regeneration_duration": 5
|
|
|
|
|
}
|
|
|
|
|
]
|
2021-10-08 12:59:03 +02:00
|
|
|
}
|