Started by
KangoMPK
on
Topic category: Help with modding (Java Edition)
I'm making a weapons mod for a small modpack. A javelin is a ranged weapon that can also do melee damage.
Is there any way to increase the reach of the melee damage(For example if you can only hit a zombie from 2 blocks away, with a javelin you can damage a zombie from 3 blocks away). please help
Not sure if it works or not but can you do something like
1. Check main hand = Javelin
2. Player attacks = Damage entity ( 3 ) blocks in front of player
use /attribute command with the run command as player procedure block.