Okay so, this is not an specific coding question, but rather a probably rather basic question:
I'm fairly new to the minecraft modding scene. I've started to tinker around with Forge for Minecraft 1.19.2 and so right now I'm playing with items and such, and while making some random ideas I've come to a point where I want to just wait for some moments (around a sec or two) after a player has used an item. (Right now I'm doing everything on
public InteractionResultHolder<ItemStack> use(Level world, Player player, InteractionHand hand){...}
)
After trying thin gs like "K let's put the thread to sleep", and "What IF i create A NEW THREAD and put that to sleep" which were the easy thing to do and, obviously wrong, I find myself searching about events, and ticks and tick handlers, and while I'm familiar with the concept due to having played with datapacks and command blocks before, I'm going in blindly with Forge. If someone could point into the right direction, what should I research about, what things I could try, (maybe even point me to sources to better learn about Forge in general) that'd be greatly appreciated.