Started by
SMILER
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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.
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]
Finally a procedure that works for my custom biomes, since the default settings do not play any custom ambient sounds, any way to make it fade in/fade out when entering or leaving biomes? The sound also appears to play two or three times when triggered.