Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/mob_effect.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

46 lines
1.3 KiB
JSON

{
"$id": "blockception.minecraft.behavior.entities.minecraft.mob_effect",
"type": "object",
"title": "Mob Effect",
"description": "A component that applies a mob effect to entities that get within range.",
"additionalProperties": false,
"properties": {
"cooldown_time": {
"title": "Cooldown Time",
"type": "integer",
"default": 0,
"description": "Time in seconds to wait between each application of the effect."
},
"effect_range": {
"title": "Effect Range",
"type": "number",
"default": 0.2,
"description": "How close a hostile entity must be to have the mob effect applied."
},
"effect_time": {
"title": "Effect Time",
"anyOf": [
{
"type": "integer",
"default": 10,
"minimum": 0
},
{
"const": "infinite"
}
],
"description": "How long the applied mob effect lasts in seconds."
},
"entity_filter": {
"$ref": "../../filters/filters.json",
"title": "Entity Filter",
"description": "Filter to use for conditions."
},
"mob_effect": {
"title": "Mob Effect",
"$ref": "../../../../general/vanilla/effect.json",
"description": "The mob effect that is applied to entities that enter this entities effect range."
}
}
}