Started by
jopelle
on
Topic category: Help with Minecraft modding (Java Edition)
Hi,
I have a problem with the entity direction in deg. It was working perfectly a few hours ago and suddenly stopped working for some reason.
I'm comparing entity rotation with values and assigning a variable a value depending on this comparison value, but it is always wrong.
I've been printing the entity rotation value to the console and I have strange negative values like -445.
Here, the variable rotateDirection is always zero (default value).
Does anyone have any idea on what's happening ?
Thank you very much
EDIT: I fixed it by changing to negative values but still strange because it was working 5 hours ago
Edited by jopelle on Sat, 04/11/2020 - 16:13
Use print block to print rotation in the console and work from there.
Will do thank you!