Combat in Java is centred around the cooldown, which is a loading bar that appears beneath the cursor and represents a window of time during which you can deal the most damage with a weapon or tool.