
Craftit7
Members-
Posts
69 -
Joined
-
Last visited
Everything posted by Craftit7
-
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.
-
[1.16.5] How can I smooth the YAW set animation?
Craftit7 replied to Craftit7's topic in Modder Support
Tysm. -
[1.16.5] How can I smooth the YAW set animation?
Craftit7 replied to Craftit7's topic in Modder Support
Aha thats why it didnt get imported, whats the updated name? I used this code from an online source -
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.
-
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
TYSM works like a charm now. -
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
But... No one replied with a useful reply from 10 hours ?? -
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
bump. I really need help. -
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
I tried to do that. But I couldn't find how to get the needed YAW number to set the player to. How can i do that? -
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
Ok thanks K I will try it -
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
True, but i needed help tho.. and no one was answering -
[1.16.5] Need help getting YAW of entity relative to the player.
Craftit7 replied to Craftit7's topic in Modder Support
bump -
and then set it to a value?
-
I know this question might be dumb but.. player.setRotationYawHead doesnt work for some reason.
-
Ok thank you.
-
Like, moving forward when needed, changing his YAWHead Pos, then moving forward. till he is at the specified coords
-
I want to make the player normally walk to a certain x, y, z. How can I do that?
-
Thank you. Works.
-
How do I create a command? Like what shall I do to register a certain class with it?
-
[1.16.5] Scan for nearby mods. Updated version.
Craftit7 replied to Craftit7's topic in Modder Support
Ok thank you very much. -
I have updated my forge version. How can I scan for nearby mobs? The mod is client side. I want to play a sound if an enderman is nearby. How can I achieve this? I already have my clientTickEvent method. Just not sure how to get nearby mobs and check if they are endermen.
-
How can I scan for nearby mobs? The mod is client side. I want to play a sound if an elderman is nearby. How can I achieve this? I already have my clientTickEvent method. Just not sure how to get nearby mobs and check if they are endermen.
-
How can i make a dist-only event sub on a sep class??
-
Uhm, Its a private mod
-
Also as i said before ITS CLIENT SIDE ONLYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY ONLY CLIENT WILL RUN IT