Files
minecraft-bedrock-json-schemas/source/behavior/entities/format/components/mob_effect.json
Xterionix 822ed538f9 Some more misc fixes (#295)
* - Add mob effects enum

* - Add biome and biome tags to enum

* - Fix feature rules only showing with 1.13.0 format version

* - Replace 1.20.41 -> 1.20.80
- Make certain format versions restricted to 1.10.0

* - Remove example stick (having this here was annoying)

* - Fix

* - Remove empty sounds example

* - Misc fixes for entity components
2024-06-28 21:06:53 +02:00

38 lines
1.2 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",
"type": "integer",
"default": 10,
"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."
}
}
}