i'm creating a custom rpg server and i want to take out all vanilla aspects from minecraft and replace them with my own systems.
i'm already pretty much done, but every time i damage an entity with a weapon, the damage slightly changes due to minecraft's attack speed and fully charged attacks.
i already set the cooldown for attacks at 10 ticks, which makes the damaged entity only take damage every 10 ticks even if a player spam attacks it, but because of the cooldown minecraft has, the damage keeps slightly changing, which is annoying.
how can i make every attack a fully charged attack and ignore what minecraft has?
TL;DR: i want to remove minecraft's charged attacks and make every attack in my server a fully charged attack without cooldowns
, most things can be found there with a good search