Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/combat_regeneration.json
Xterionix c9449c75d6 Updated for 1.21.70 along with other improvements (#337)
* Update vscode-settings.json

* - Updated map color

* - Added replaceable block component

* - Effect durations can be set to infinite now

* - Added support for entity sound variants

* - Fix description for renders_when_invisible entity component

* - Added is_collidable component

* - Updated entity_sensor

* - Added body_rotation_axis_aligned

* - Updated projectile > on_hit

* - Set min and max for collision_box

* - Added locator field to sounds in animation controllers and animations

* - Added new event response

* - Removed peak_factor from mountain_parameters component

* - Added isotropic field to material_instances

* - Added tint field to material_instances

* - Added input_air_controlled entity component

* - Added use_beta_features property to entity.json

* - Added missing match_tool property

* - Added use_home_position_restriction to float_wander goal

* - Added deferred client biome components

* - Added dry_foliage_color client biome component

* - Added destruction_particles

* - Marked biome tinting as experimental

* - Fix property_inheritance under breedable

* - Fix inconsistency with scatter feature

* - Update rideable description

* - Allowed event.add/remove to be strings

* - Added missing property in move_around_target behavior

* - Made features accept block references

* - Allowed repairable to use item descriptors

* - Fix typo
2025-03-03 08:44:05 +01:00

43 lines
1.2 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.combat_regeneration",
"type": "object",
"title": "Combat Regeneration",
"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": {
"anyOf": [
{
"type": "integer",
"default": 5,
"minimum": 0
},
{
"const": "infinite"
}
],
"description": "The duration in seconds of Regeneration I added to the mob.",
"title": "Regeneration Duration"
}
},
"examples": [
{
"apply_to_family": false,
"apply_to_self": false,
"regeneration_duration": 5
}
]
}