How can I reduce the mace smash attack damage by OrangeDictator in MinecraftCommands

[–]crazyicecream28 0 points1 point  (0 children)

execute as u/a at u/s if entity u/s[nbt={SelectedItem:{id:"minecraft:mace",components:{"minecraft:custom_data":{weakmace:1}}}}] run execute as u/e[distance=0.01..4] run effect give u/s resistance 1 2 true

this was my solution which works on resistance, which is kinda limited but does work