Started by
BMAgamer
on
Topic category: Help with modding (Java Edition)
I have a mob I made on blockbench (geckolib). It has a animation where it charges up and then would shoot. Only issue, is that it shoots as soon as that animation starts. How can I delay the projectile attack so the animation plays before.
(I don't know how to code but I understand procedures a little)
If the logic runs server-side, you could use wait procedure block.
Otherwise, you may be able to use mob tick update to count ticks before executing the action. You can store tick counter in entity nbt or entity synced data, for example
Well how can I have it so the entity shoots the projectile at the target using the procedure. I've just been using the default ai to make it shoot the projectile.