Started by
sSmalKk
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to create a skill system that works with a lot of weapon mods, basically I created a recoil for weapons when the ammunition changes, but apparently the onplayertickupdate doesn't always work, sometimes the recoil works sometimes it doesn't work.
Edited by sSmalKk on Tue, 11/24/2020 - 20:05
If you could post pictures of your procedures that would help us help you.
https://prnt.sc/vpd36u
ops, change the local to player variable
global*
sorry for the spam, i was nervous, ignore the last COMMENTS, the problem is, the recoil of the gun even works, but only sometimes
unfortunately i was unable to find a way to add perfect recoil that is synced with the ranged weapon mechanics. the trigger "when ranged item used" should have worked but it's not
activatedwhen ranged item is shot.sorry i could not assist you :(
wish the best for you.