Is it possible to add looping ambience to existing biomes?

Started by SMILER on

Topic category: Help with modding (Java Edition)

Last seen on 03:25, 29. Jul 2023
Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to add looping ambience to existing biomes?

I'm trying to figure out a way to have looping ambience for vanilla biomes, like how it works with Nether biomes, each having a looping track and then a set of additions and mood sounds. As far as I know, MCreator doesn't allow you to edit vanilla biomes, so is there a way I could achieve this with procedures or a plugin? 

Last seen on 11:10, 24. Jun 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello!You could achieve this…
Fri, 07/28/2023 - 12:31

Hello!
You could achieve this with procedures, all you need is one with the global trigger: "On player tick update".

You can use one or multiple number NBT tag clocks, to make the sounds loop, in combination with the "is biome at type" block and /stopsound.

Last seen on 11:10, 24. Jun 2024
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Here is a little example of…
Fri, 07/28/2023 - 12:38

Here is a little example of such a procedure, just replace "12345" with whatever duration you want (remember these are ticks and 20 ticks = 1 second )

[Tutorial Image]