I'm trying to make 1.8 Java PvP style in my KitPvP server, and I used setAttackCooldown to remove the attack cooldown. The thing is, the knockback goes crazy and I die within 2 seconds of my friend clicking 15 cps on me @-@. I tried to reduce the knockback the player being attacked receives, but it's still not like how Java PvP is. Anything that I should add to make a 1.8-like PvP experience?
The default value of attack cooldown is 10 ticks meaning your friend with 15cps will only land 2 hits in one second. If you change the value of attack cooldown to anything else, you're making it less "Java-like".
1.8 has a cooldown of 10 ticks, same as bedrock edition (the 1.9 combat updates weren't added to bedrock edition).