Upodated mob_effect
This commit is contained in:
@@ -5,28 +5,34 @@
|
|||||||
"description": "A component that applies a mob effect to entities that get within range.",
|
"description": "A component that applies a mob effect to entities that get within range.",
|
||||||
"additionalProperties": false,
|
"additionalProperties": false,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"cooldown_time": {
|
||||||
|
"title": "Cooldown Time",
|
||||||
|
"type": "integer",
|
||||||
|
"default": 0,
|
||||||
|
"description": "Time in seconds to wait between each application of the effect."
|
||||||
|
},
|
||||||
"effect_range": {
|
"effect_range": {
|
||||||
|
"title": "Effect Range",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0.2,
|
"default": 0.2,
|
||||||
"description": "How close a hostile entity must be to have the mob effect applied.",
|
"description": "How close a hostile entity must be to have the mob effect applied."
|
||||||
"title": "Effect Range"
|
|
||||||
},
|
},
|
||||||
"effect_time": {
|
"effect_time": {
|
||||||
|
"title": "Effect Time",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 10,
|
"default": 10,
|
||||||
"description": "How long the applied mob effect lasts in seconds.",
|
"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"
|
|
||||||
},
|
},
|
||||||
"entity_filter": {
|
"entity_filter": {
|
||||||
"$ref": "../../filters/filters.json",
|
"$ref": "../../filters/filters.json",
|
||||||
"title": "Entity Filter",
|
"title": "Entity Filter",
|
||||||
"description": "Filter to use for conditions"
|
"description": "Filter to use for conditions"
|
||||||
|
},
|
||||||
|
"mob_effect": {
|
||||||
|
"title": "Mob Effect",
|
||||||
|
"type": "string",
|
||||||
|
"default": "",
|
||||||
|
"description": "The mob effect that is applied to entities that enter this entities effect range."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"examples": [
|
"examples": [
|
||||||
|
|||||||
Reference in New Issue
Block a user