Code:
apply attribute modifier to {_tool}:
attribute: movement_speed
id: "minecraft:movement_speed"
slot: mainhand_slot_group
amount: {_lvl}
operation: add_number
This returns the error "'movement_speed' is not a attribute type," however, it is an attribute type? I don't know how to fix it, can someone please help?