tyon2006 / MMO---Here-We-Go-

MIT License
1 stars 0 forks source link

play sounds when level up occurs #284

Open tyon2006 opened 2 years ago

tyon2006 commented 2 years ago

this is tough. looking at this: https://github.com/Coders-After-Dark/CompatSkills/blob/master/src/main/java/codersafterdark/compatskills/common/compats/reskillable/skillchange/SkillChangeTweaker.java

tried this code, didnt work as expected.

var levelUpCommandArray = ["playsound minecraft:ui.toast.challenge_complete ambient @p"] as string[];

//music and buffs mods.compatskills.SkillChange.addLevelUpCommands(extraskills:bawls, extraskills:bawls,5,levelUpCommandArray);

image