aboutsummaryrefslogtreecommitdiff
path: root/azalea-entity/src/attributes.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-entity/src/attributes.rs')
-rw-r--r--azalea-entity/src/attributes.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-entity/src/attributes.rs b/azalea-entity/src/attributes.rs
index 69e98a7b..26f0618e 100644
--- a/azalea-entity/src/attributes.rs
+++ b/azalea-entity/src/attributes.rs
@@ -21,6 +21,7 @@ pub struct Attributes {
pub attack_speed: AttributeInstance,
pub water_movement_efficiency: AttributeInstance,
pub mining_efficiency: AttributeInstance,
+ pub block_break_speed: AttributeInstance,
pub block_interaction_range: AttributeInstance,
pub entity_interaction_range: AttributeInstance,
@@ -41,6 +42,7 @@ impl Attributes {
Attribute::BlockInteractionRange => &mut self.block_interaction_range,
Attribute::EntityInteractionRange => &mut self.entity_interaction_range,
Attribute::StepHeight => &mut self.step_height,
+ Attribute::BlockBreakSpeed => &mut self.block_break_speed,
_ => return None,
};
Some(value)