Hums
Through the use of Datapacks, it is possible to implement custom soundscapes! (Also known as "Hums")
Requirements
A Resource Pack
A Data Pack
Resource Pack
Within your resourcepack, create custom sounds, you can learn how to do this here
Once you have completed this step, you are done with the resource pack side of things!
Data Pack
File Structure
Console patterns follow the following structure:
Here is an example entry from the mod, you may edit to your needs!
ambient_soundsAn array of sounds that will play at randomly and not continuously
hum_soundOne sound entry that will play on a loop forever until the player changes hum
idString, Unique identifier for the hum.
Examples:
bables,the_forbidden_landsname_componentNBTComponent, Display Text for the UI.
ONLY USE the Minecraft Tellraw generated text, DO NOT include the tellraw command syntax. You can find a generator here.
Example:
{\"color\":\"gold\",\"text\":\"The Forbidden Lands!\"}