override motion amount

Started by Astraaz on

Topic category: Help with modding (Java Edition)

Last seen on 18:47, 16. May 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
override motion amount

So, ive seen someone make a code for your motion to increase when clicked in the direction youre facing. 
I wanted to change the speed of the direction the player goes in when using the item tho if i change any values the code breaks and only propells me in 1 direction doesnt matter where im facing.

id really appreciate help :D

the code i have at the moment:
https://imgur.com/a/ieS9BuA