Started by
Albert Gaming
on
Topic category: Help with Minecraft modding (Java Edition)
basically like a Force a Nature from Team Fortress 2. It an enchantment for crossbow only that when fired, it will knockback target that got shoot and the user. the knockback strength depends on how many arrows has been shot so with Multishot, the knockback will be stronger for the user.
Why?
i don't know how to code it and i need help.
Please i need a reply to this. Im desperate rn.
Idk if you need it anymore but i gotchu man ( you can change the values how you prefer. note that the player is "source entity" so if you want to change the knockback he recives just change the values at the end (vx 0.3 , vy 0.5 , vz 0.3)
https://imgur.com/a/la5wrEc
if you directly want the procedure i can send it to you on discord, its mr.gabb (note i dont use discord much so if i dont check and respond immidiatly please be patient🙏