Make an 3D item move left and right when i sprint/walk

Started by Tommyp on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make an 3D item move left and right when i sprint/walk

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

Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The item should already sway…
Fri, 04/03/2020 - 00:43

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.

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you and i am…
Sun, 04/05/2020 - 22:14

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 

Joined May 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It might cause some issues…
Tue, 04/14/2020 - 18:54

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.