Started by
I Have The Hig…
on
Topic category: Help with Minecraft modding (Java Edition)
I'm not very used to the interface yet, but does someone know how to make battle music that starts when a player attacks, and stops when the attacker is killed/out of range?
you could use variable to detect when its on/off and then when entity is attacked if off play sound and on player tick update if entity is not in 10 cubes stop sounds and when entity dies stop sound