* - 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
38 lines
1.2 KiB
JSON
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."
|
|
}
|
|
}
|
|
}
|