Jump to content

Craftit7

Members
  • Posts

    69
  • Joined

  • Last visited

Everything posted by Craftit7

  1. 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.
  2. Aha thats why it didnt get imported, whats the updated name? I used this code from an online source
  3. 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.
  4. But... No one replied with a useful reply from 10 hours ??
  5. 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?
  6. 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?
  7. I know this question might be dumb but.. player.setRotationYawHead doesnt work for some reason.
  8. Like, moving forward when needed, changing his YAWHead Pos, then moving forward. till he is at the specified coords
  9. I want to make the player normally walk to a certain x, y, z. How can I do that?
  10. How do I create a command? Like what shall I do to register a certain class with it?
  11. 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.
  12. 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.
  13. How can i make a dist-only event sub on a sep class??
  14. Also as i said before ITS CLIENT SIDE ONLYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY ONLY CLIENT WILL RUN IT
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.