From cde7e35046b726b07bf3e067c080b85a12b2fd74 Mon Sep 17 00:00:00 2001 From: mat <27899617+mat-1@users.noreply.github.com> Date: Sat, 15 Jul 2023 04:39:43 -0500 Subject: Attacking (#96) * add Client::attack * partially implement attack cooldowns * attack speed modifiers * don't care clippy --------- Co-authored-by: mat --- azalea-entity/src/lib.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'azalea-entity/src/lib.rs') diff --git a/azalea-entity/src/lib.rs b/azalea-entity/src/lib.rs index 53e8bfdb..76c5220a 100644 --- a/azalea-entity/src/lib.rs +++ b/azalea-entity/src/lib.rs @@ -344,6 +344,7 @@ impl EntityBundle { // TODO: do the correct defaults for everything, some // entities have different defaults speed: AttributeInstance::new(0.1), + attack_speed: AttributeInstance::new(4.0), }, jumping: Jumping(false), -- cgit v1.2.3