@@ -9,52 +9,52 @@
|
|||||||
"$ref": "types/priority.json"
|
"$ref": "types/priority.json"
|
||||||
},
|
},
|
||||||
"aggro_sound": {
|
"aggro_sound": {
|
||||||
|
"title": "Aggro Sound",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "",
|
"default": "",
|
||||||
"description": "Sound to occasionally play while defending.",
|
"description": "Sound to occasionally play while defending."
|
||||||
"title": "Aggro Sound"
|
|
||||||
},
|
},
|
||||||
"attack_interval": {
|
"attack_interval": {
|
||||||
|
"title": "Attack Interval",
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"description": "Time in seconds between attacks",
|
"description": "Time in seconds between attacks"
|
||||||
"title": "Attack Interval"
|
|
||||||
},
|
},
|
||||||
"must_see": {
|
"must_see": {
|
||||||
|
"title": "Must See",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "If true, only entities in this mob's viewing range can be selected as targets",
|
"description": "If true, only entities in this mob's viewing range can be selected as targets"
|
||||||
"title": "Must See"
|
|
||||||
},
|
},
|
||||||
"must_see_forget_duration": {
|
"must_see_forget_duration": {
|
||||||
|
"title": "Must See Forget Duration",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 3,
|
"default": 3,
|
||||||
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more",
|
"description": "Determines the amount of time in seconds that this mob will look for a target before forgetting about it and looking for a new one when the target isn't visible any more"
|
||||||
"title": "Must See Forget Duration"
|
|
||||||
},
|
},
|
||||||
"on_defend_start": {
|
"on_defend_start": {
|
||||||
"$ref": "../types/event.json",
|
|
||||||
"title": "On Defend Start",
|
"title": "On Defend Start",
|
||||||
"description": "The event to run when this mob starts to defend the entity it trusts.",
|
"$ref": "../types/event.json",
|
||||||
"$comment": "UNDOCUMENTED"
|
"description": "The event to run when this mob starts to defend the entity it trusts."
|
||||||
},
|
},
|
||||||
"within_radius": {
|
"within_radius": {
|
||||||
|
"title": "Within Radius",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"default": 0,
|
"default": 0,
|
||||||
"description": "Distance in blocks that the target can be within to launch an attack",
|
"description": "Distance in blocks that the target can be within to launch an attack"
|
||||||
"title": "Within Radius"
|
|
||||||
},
|
},
|
||||||
"entity_types": {
|
"entity_types": {
|
||||||
|
"title": "Entity Types",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"description": "List of entity types that this mob considers valid targets",
|
"description": "List of entity types that this mob considers valid targets",
|
||||||
"title": "Entity Types",
|
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
"sound_chance": {
|
"sound_chance": {
|
||||||
"title": "Sound Chance",
|
"title": "Sound Chance",
|
||||||
"description": "The chance that the `aggro_sound` will play",
|
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
"default": 0.05,
|
||||||
|
"description": "Probability that a sound will play.",
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 1
|
"maximum": 1
|
||||||
}
|
}
|
||||||
@@ -67,7 +67,7 @@
|
|||||||
"must_see_forget_duration": 3,
|
"must_see_forget_duration": 3,
|
||||||
"within_radius": 0,
|
"within_radius": 0,
|
||||||
"entity_types": {},
|
"entity_types": {},
|
||||||
"sound_chance": 0.0
|
"sound_chance": 0.05
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user