Started by
arnoverhaeghe
on
Topic category: Help with MCreator software
Hi
I am trying to make when a player enters a biome there plays music and when exit the music stops en when another biome like the plains other music start.
Is this possible?
yes. on player tick update:
[ is biome at x: <x position of / event/target entity>, y:<y of same>, z: <z of same> tagged in biome tags as <TagName> ]
[ play <music> at x y z level:1 pitch:1] or [ execute command < execute @p at @s stopsound > at: x y z ]
you should create biome tags for this method.
this is simplified structure of my mod. so there may be errors.
https://drive.google.com/file/d/1GWg7b6TiMVJpb2oPEAaAlfLGGXeDn70_/view?usp=share_link
Thanks!
Have u some images from the block code?
It's very long and complex to capture screenshots so I'll just give you my workspace file
https://drive.google.com/file/d/1s4BX1uMOIcXsr7h5rKBcs_3t3rhr4CRk/view?usp=share_link
Take a look these 4 procedures: tesmusics -> PlayerLoacationUpdate, TESBGMPack (main body), BGMSelector (CYR or SKY), BGMStopper
Hi i don't have perms on your link?
@OneHana, If it's possible could you share the link. I don't think the link works properly the the one on top doesn't really help much unless you figure it out on your own. It'd be nice to have it, Thanks :D!