Started by
mobcrafter731
on
Topic category: Help with Minecraft modding (Java Edition)
I have been using the "Attempt to override motion vector of..." procedure block, and it has been working fine for the most part.
However, randomly, without making any changes to that part of the code, it stops working.
If I run something even as simple as setting the velocity to 0, 2, 0, it refuses to work.
And then randomly later, the code works again, with no explanation.
What is happening?!
Update: I may have found the issue. The motion vector specifically doesn't work once I put it after an if statement checking if a player has a global variable. However, any other code runs fine.
For example, if I use this code above, and set the player's test variable to aaa, the message is sent in chat, but the motion vector isn't applied to the player. However, if I remove all of this except for the "override motion vector" block, it works fine.
Does anyone know why this happens, or how to get around it?
i am having the same issue,
hope someone replies