Started by
MofuMofu
on
Topic category: Help with Minecraft modding (Java Edition)
basically i want my mob to roar before setting the attack, i was able to make it but the mob repeats the sound/animation multiple times since it does the condition everytickupdate.
is there a way to repeat something once?
Put it in a different procedure. "On entity tick update" is basically an infinite loop.
Or, you could do a "If pick random number _ to _" = "_" to give it a rarity of sorts.
This will trigger ever tick so you'll want to set the second number higher depending on how often you want it to trigger, then code on from there!