2021-06-06 10:07:19 +00:00
|
|
|
{
|
|
|
|
|
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.mob_effect",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Mob Effect 1.8.0",
|
|
|
|
|
"description": "A component that applies a mob effect to entities that get within range.",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"effect_range": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 0.2,
|
|
|
|
|
"description": "How close a hostile entity must be to have the mob effect applied.",
|
|
|
|
|
"title": "Effect Range"
|
|
|
|
|
},
|
|
|
|
|
"effect_time": { "type": "integer", "default": 10, "description": "How long the applied mob effect lasts in seconds.", "title": "Effect Time" },
|
|
|
|
|
"mob_effect": {
|
|
|
|
|
"type": "string",
|
|
|
|
|
"default": "",
|
|
|
|
|
"description": "The mob effect that is applied to entities that enter this entities effect range.",
|
|
|
|
|
"title": "Mob Effect"
|
|
|
|
|
},
|
2021-06-09 09:41:09 +02:00
|
|
|
"entity_filter": { "$ref": "../../filters/filters.json", "title": "Entity Filter", "description": "UNDOCUMENTATED" }
|
2021-06-06 10:07:19 +00:00
|
|
|
}
|
|
|
|
|
}
|