Jump to content

Nexeption

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Nexeption's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Hi.. i tryied it and it didn't work it crashes when i connect to singleplayer world. This is my code : @SubscribeEvent public void onLivingUpdateEvent(LivingUpdateEvent event, EntityPlayer player, Entity entity) { if(entity instanceof EntityPlayer) { updateMS(); mc.thePlayer.motionX = 0; mc.thePlayer.motionY = 0; mc.thePlayer.motionZ = 0; mc.thePlayer.jumpMovementFactor = speed; if(KeyInputHandler.leJoueurVole == true) { updateFlyHeight(); mc.thePlayer.sendQueue .addToSendQueue(new C03PacketPlayer(true)); if(flyHeight <= 290 && hasTimePassedM(500) || flyHeight > 290 && hasTimePassedM(100)) { goToGround(); System.out.println("Test."); updateLastMS(); } } } } what im i doing wrong ? ps : i'm not tying to stop the player from flying. (sorry for bad language)
  2. Okay, Thanks for your reply. i will try and tell you if something went wrong
  3. Hello, i'm new to the forge community.. i've been learning and learning how does forge work from a long time ago and now i need some help because i can't really find a event that fire when the player is flying... Any ideas please ?
×
×
  • Create New...

Important Information

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