A while ago, I noticed that If I leave my pc open for a bit (Until the gradle Daemon terminates it self timeout). Now IntelliJ needs a new daemon to run the operation, but instead it just doesn't manage to run. I have to restart my whole machine..
Getting Spammed With this:-
Last gradle process just crashes with Address already in use: Cannot bind.
And now gradle is all over my pc:-
PLEASE HELP! It takes 20% of my memory and sometimes causes the pc to crash.
Here is what I tried:-
private void doSmoothYawTurn(float yaw, float pitch, EntityPlayer player) {
if (player.rotationYaw <= 180F) {
for (int i = (int)player.rotationYaw; i != yaw ; i++) {
player.rotationYaw = i;
}
} else {
for (int i = (int)player.rotationYaw; i != yaw ; i--) {
player.rotationYaw = i;
}
}
player.rotationPitch = pitch;
}
But sadly, The game just freezes.
I need help in getting the position of an enderman, then setting the YAW Head position to where that enderman is standing relatively to the player. Can I do something like that?