Help whit Biome music

Started by arnoverhaeghe on

Topic category: Help with MCreator software

Active 2 years ago
Joined Dec 2016
Points:
709

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Help whit Biome music

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?

 

Active 1 year ago
Joined Jan 2023
Points:
332

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
yes. on player tick update: …
Fri, 04/07/2023 - 16:26

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.

Active 2 years ago
Joined Dec 2016
Points:
709

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Thanks! Have u some images…
Mon, 04/10/2023 - 10:38

Thanks!

Have u some images from the block code?

Active 1 year ago
Joined Jan 2023
Points:
332

User statistics:

  • Modifications: 0
  • Forum topics: 5
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
It's very long and complex…
Mon, 04/10/2023 - 15:28

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

Active 2 years ago
Joined Dec 2016
Points:
709

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Hi i don't have perms on…
Thu, 04/20/2023 - 18:43

Hi i don't have perms on your link?

Active 7 months ago
Joined Jun 2022
Points:
540

User statistics:

  • Modifications: 2
  • Forum topics: 13
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
@OneHana, If it's possible…
Sun, 01/21/2024 - 23:16

@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!