Started by
ClOud1076
on
Topic category: Help with Minecraft modding (Java Edition)
So I have a weapon that has a skill set, you can cycle skills by pressing a keybind and to activate the skill you need to right click the weapon. I'm aware that there's a cool down for items but it's not what I want, I want the skill to be in cooldown when I activate it and not the item
Edited by ClOud1076 on Thu, 01/13/2022 - 01:47
you could try setting a nbt of the player to something, then wait a amount of ticks then set it back, so if the nbt is true you can use the skill but if its false you cant
i forgot to add one thing, there are multiple skills in a weapon, what i want is if i activate skill 1 it will be in cooldown and skill 2 shouldnt be in cooldown unless i activate it. ill show a procedure of how the procedure works.
Not necessary variables, best cooldown procedures are done by using NBT procedures
can you show me how
nevermind, i found out, thanks for your help anyways. if anyone wants the procedure its this.
Great idea ClOud1076!
Also procedure was made by cursed warrior I followed his tutorial in YouTube. Without his tutorials this wouldn't be possible
Hi !
I want make the similar thing but with invocations. I started Mcreator just two weeks ago. Can you explain me your procedure and/or send me the link of the video of Cursed Warrior plz (he have so many videos, I do not find them ^^).
Thanks
https://youtu.be/v9sqI-XZ-iI
I used this method too, but if you drop the item and equip it again while it's on cooldown, you won't be able to use the ability again. Did you find a solution to this?
I can't actually find a good solution, but a workaround, I couldn't remember the exact procedure but i made it so that when the player shifts and right click the item it will remove the cooldown
I recomend using global player varriables, NBTs are not working great now