minecraft:melee_attack
Allows entities to make close combat melee attacks
Example Config
- key: minecraft:melee_attack
priority: 0
args:
speed: 1.6 # The speed at which to attack the target
pauseWhenMobIdle: true # If the entity should stop attacking when the target is idle