Started by
xTremQuick
on
Topic category: Help with MCreator software
Hey there,
So Ive got a Keybind to strike lightning at the pressing of the r key. I dont want players to spam this, so I need a cooldown for this. I have no idea on how to add it, so are there any sugestions? tthanks in advance
Edited by xTremQuick on Wed, 07/19/2023 - 20:42
Thank you xTremQuick! That is exactly what I was looking for. I am really new to all this buut;
I used this to add absorption to a sword. I did run into a problem where the procedure wouldn't count down but I switched out "event/target entity" with "source entity" and it worked. I also used if "item in main hand of source entity" = "[custom sword]" logic to apply it only to the sword in hand. Now the sword has absorption, fires a projectile (with a separate cooldown), and is automatically enchanted when crafted XD