Add sound event schema and use where appropriate (#120)
* Fix typo in module name * Add sound_event schema and add it where appropriate
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
"title": "Condition"
|
||||
},
|
||||
"event_name": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"description": "Level sound event to be played as the ambient sound.",
|
||||
"title": "Event Name"
|
||||
}
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
},
|
||||
"angry_sound": {
|
||||
"title": "Angry Sound",
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "The sound event to play when the mob is angry."
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"title": "Celeberation Targets"
|
||||
},
|
||||
"celebrate_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "The sound event to play when the mob is celebrating.",
|
||||
"title": "Celebrate Sound"
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
"$ref": "../types/trigger.json"
|
||||
},
|
||||
"on_damage_sound_event": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"description": "Defines what sound to play, if any, when the on_damage filters are met.",
|
||||
"title": "On Damage Sound Event"
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
},
|
||||
"play_sounds": {
|
||||
"title": "Play Sounds",
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "List of sounds to play when the interaction occurs."
|
||||
},
|
||||
|
||||
@@ -54,13 +54,13 @@
|
||||
"title": "Gravity"
|
||||
},
|
||||
"hit_ground_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "The sound that plays when the projectile hits the ground.",
|
||||
"title": "Hit Ground Sound"
|
||||
},
|
||||
"hit_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "The sound that plays when the projectile hits something.",
|
||||
"title": "Hit Sound"
|
||||
@@ -601,7 +601,7 @@
|
||||
"title": "Semi Random Diff Damage"
|
||||
},
|
||||
"shoot_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "The sound that plays when the projectile is shot.",
|
||||
"title": "Shoot Sound"
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
"title": "Spawn Method"
|
||||
},
|
||||
"spawn_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "plop",
|
||||
"description": "Identifier of the sound effect to play when the entity is spawned.",
|
||||
"title": "Spawn Sound"
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
}
|
||||
},
|
||||
"begin_transform_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"description": "Sound to play when the transformation starts.",
|
||||
"title": "Begin Transform Sound"
|
||||
},
|
||||
@@ -106,7 +106,7 @@
|
||||
"title": "Preserve Equipment"
|
||||
},
|
||||
"transformation_sound": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "Sound to play when the entity is done transforming.",
|
||||
"title": "Transformation Sound"
|
||||
|
||||
Reference in New Issue
Block a user