Started by
deikaeus
on
Topic category: Help with Minecraft modding (Java Edition)
Hello,
I've been using mcreator for a long time but I'm struggling with creating timers and delays on custom mobs. I am currently making this wizard boss for a private minecraft mod and I wanted to implement a feature where it can summon lightning randomly. I tried using many tutorials on NBTs, delays and timers as references to making it work but all it does is make the lighting happen very quickly.
Can anybody please help me with this?
Thanks :)
https://mcreator.net/forum/82483/add-cool-down-procedure
You can try this. Just replace the tags to make it work on entities since the procedure was made for an item
worth a shot, I'll try that and see if it does work.
it's very easy
NBt to get NBT +1 on tick update
When NBT = any number you need then shot lightning (or randomize it so it will cast always in different moments)
Good news! After looking into ClOud1076 's post, I figured out how to make timers work on entity tick update functions. Thanks ClOud1076!