Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nexeption

Members
  • Joined

  • Last visited

  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 ?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.