@@ -13,6 +13,7 @@
|
|||||||
"$ref": "./types/speed_multiplier.json"
|
"$ref": "./types/speed_multiplier.json"
|
||||||
},
|
},
|
||||||
"damage_sources": {
|
"damage_sources": {
|
||||||
|
"title": "Damage Sources",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "../../../../general/entity/damage_source.json"
|
"$ref": "../../../../general/entity/damage_source.json"
|
||||||
@@ -22,49 +23,44 @@
|
|||||||
"all"
|
"all"
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
"description": "The list of Entity Damage Sources that will cause this mob to panic",
|
"description": "The list of Entity Damage Sources that will cause this mob to panic"
|
||||||
"title": "Damage Sources"
|
|
||||||
},
|
},
|
||||||
"force": {
|
"force": {
|
||||||
|
"title": "Force",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it",
|
"description": "If true, this mob will not stop panicking until it can't move anymore or the goal is removed from it"
|
||||||
"title": "Force"
|
|
||||||
},
|
},
|
||||||
"ignore_mob_damage": {
|
"ignore_mob_damage": {
|
||||||
|
"title": "Ignore Mob Damage",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`",
|
"description": "If true, the mob will not panic in response to damage from other mobs. This overrides the damage types in `damage_sources`"
|
||||||
"title": "Ignore Mob Damage"
|
|
||||||
},
|
},
|
||||||
"prefer_water": {
|
"prefer_water": {
|
||||||
|
"title": "Prefer Water",
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": false,
|
"default": false,
|
||||||
"description": "If true, the mob will prefer water over land",
|
"description": "If true, the mob will prefer water over land"
|
||||||
"title": "Prefer Water"
|
|
||||||
},
|
},
|
||||||
"panic_sound": {
|
"panic_sound": {
|
||||||
|
"title": "Panic Sound",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The sound event to play when this mob is in panic",
|
"description": "The sound event to play when this mob is in panic"
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"title": "Panic Sound"
|
|
||||||
},
|
},
|
||||||
"sound_interval": {
|
"sound_interval": {
|
||||||
"type": "object",
|
|
||||||
"description": "Determines how often the `panic_sound` will play",
|
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"title": "Sound Interval",
|
"title": "Sound Interval",
|
||||||
|
"type": "object",
|
||||||
|
"description": "The range of time in seconds to randomly wait before playing the sound again",
|
||||||
"properties": {
|
"properties": {
|
||||||
"range_min": {
|
"range_min": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The minimum time in seconds before the `panic_sound` plays",
|
"description": "The minimum time in seconds before the `panic_sound` plays",
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"title": "Range Minimum"
|
"title": "Range Minimum"
|
||||||
},
|
},
|
||||||
"range_max": {
|
"range_max": {
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"description": "The maximum time in seconds before the `panic_sound` plays",
|
"description": "The maximum time in seconds before the `panic_sound` plays",
|
||||||
"$comment": "UNDOCUMENTED",
|
|
||||||
"title": "Range Maximum"
|
"title": "Range Maximum"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user