Topic category: Help with MCreator software
I am making a mod that has another dimension, and I want to put my own music in as ambient similar to vanilla Minecraft. however from what I can see the custom biome music only allows for 1 song to be used (I have 3 I want to play). I have looked into procedures that work with world tick and player tick updates but these never seem to work, so I'm probably doing something wrong. I am working with Mcreator version 2023.2. and the mod is for 1.19.2 if that is useful information. Thank you in advance for any help!
Edit: I have solved it myself, using global variables (had to look up a video for them I highly recommend watching if you are struggling with this issue.) I made it tick up by 0.0001 every world tick until it reached 1.2 then it would play music. this timing is every ten minutes. to add variation I did 1.2 plus random [0,1) so that it ranges from 10 mins to 18 mins.
Good luck if you are struggling with this issue!
Bump
because this is sucking hours out of my life hahaha... :(