Started by
Tommyp
on
Topic category: Help with Minecraft modding (Java Edition)
Can someone help me with a procedure that can make a 3d item model move left and right while i am sprinting so that it looks like the model is moving with my hand, also if possible is there a way to make an item rotate with procedures when i sprint so that it looks like i am holding it across my body
The item should already sway in your hand when walking or sprinting. Make sure you have "view bobbing" or something like that turned on in your settings. Also the thing for it being held over your chest, that might be possible with custom code, but I can't think of anything with procedures that would create the desired effect.
Thank you and i am attempting to make a 3D gun mod, so far everything is going well i just need some help with custom sprinting views
It might cause some issues and would be a pain to do, but you could make a different item that has the same model but is tilted in the "sprinting" position, then make a procedure that detects if the player is sprinting or not and gives them the appropriate item.