data modify entity @s[nbt={Item:{id:"minecraft:wooden_hoe"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"mainhand",type:"attack_speed",id:"d8e06eeb-2a32-4cc7-8e0d-dd149cfbcf94",amount:-3,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:stone_hoe"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"mainhand",type:"attack_speed",id:"d8e06eeb-2a32-4cc7-8e0d-dd149cfbcf94",amount:-2,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:iron_hoe"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"mainhand",type:"attack_speed",id:"d8e06eeb-2a32-4cc7-8e0d-dd149cfbcf94",amount:-1,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:golden_hoe"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"mainhand",type:"attack_speed",id:"d8e06eeb-2a32-4cc7-8e0d-dd149cfbcf94",amount:-3,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:diamond_hoe"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"mainhand",type:"attack_speed",id:"d8e06eeb-2a32-4cc7-8e0d-dd149cfbcf94",amount:0,operation:"add_value"}

data modify entity @s[nbt={Item:{id:"minecraft:netherite_hoe"}}] Item.components."minecraft:attribute_modifiers" append value {slot:"mainhand",type:"attack_speed",id:"d8e06eeb-2a32-4cc7-8e0d-dd149cfbcf94",amount:0,operation:"add_value"}