Files
minecraft-bedrock-json-schemas/source/resource/biomes/format/components/ambient_sounds.json
Xterionix 6d9e384781 1.21.120 (#392)
* - Fix typo "torse" -> "torso"

* - Added "main_hand" as an equipment location

* - Added support for "beta" version of script modules

* - Update point lights to local light

* - Added precipitation_interactions

* - Added control flags field to more goals

* - Update fire_resistant to not accept direct values

* - Added swing_duration component

* - Added emissive block rendering

* - Added emit_vibrations field to use_modifiers

* - Added underwater ambient sounds
- Added chance field to ambient sound addition

* - Added alpha_masked_tint

* - Added apply_knockback_to_blocking_targets field to projectile
2025-10-15 19:51:49 +02:00

62 lines
2.2 KiB
JSON

{
"$id": "blockception.minecraft.resource.biomes.minecraft.ambient_sounds",
"title": "Ambient Sounds",
"description": "Sets the ambient sounds for the biome. These sounds must be in the 'individual_named_sounds' in a 'sounds.json' file.",
"type": "object",
"additionalProperties": false,
"definitions": {
"sound_addition": {
"type": "object",
"additionalProperties": false,
"properties": {
"asset": {
"title": "Asset",
"description": "Name of the sound asset to play",
"type": "string"
},
"chance": {
"title": "Chance",
"description": "Probability of the sound playing each interval, between 0.0 and 1.0",
"type": "number",
"minimum": 0,
"maximum": 1
}
}
}
},
"properties": {
"addition": {
"title": "Addition",
"description": "Named sound that occasionally plays at the listener position.",
"oneOf": [ { "type": "string" }, { "$ref": "#/definitions/sound_addition" } ] //TODO: Check if this is dependent on format version and flag through diagnoser accordingly
},
"loop": {
"title": "Loop",
"description": "Named sound that loops while the listener position is inside the biome.",
"type": "string"
},
"mood": {
"title": "Mood",
"description": "Named sound that rarely plays at a nearby air block position when the light level is low.",
"type": "string",
"default": "ambient.cave"
},
"underwater_addition": {
"title": "Underwater Addition",
"description": "Named sound that occasionally plays at the listener position when underwater.",
"$ref": "#/definitions/sound_addition"
},
"underwater_loop": {
"title": "Underwater Loop",
"description": "Named sound that loops while the listener position is inside the biome and underwater.",
"type": "string"
},
"underwater_mood": {
"title": "Underwater Mood",
"description": "Named sound that rarely plays at a nearby water block position when the light level is low.",
"type": "string",
"default": "ambient.underwater.loop"
}
}
}