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.

Leaderboard

Popular Content

Showing content with the highest reputation on 11/16/21 in Posts

  1. One idea would be to subscribe to the PlayerTickEvent and check that the player is in water but close to the surface, something like this: @SubscribeEvent public static void jump(PlayerTickEvent event) { PlayerEntity player = event.player; if (<CHECK IF PLAYER IS JUMPING> && player.isInWater() && player.level.getBlockState(new BlockPos(player.getX(), player.getY() + 0.5, player.getZ())) .getFluidState().isEmpty()) { player.setDeltaMovement(player.getDeltaMovement().add(0, 0.2, 0)); } } Unfortunately, the field LivingEntity.jumping is protected so you can not easily access it to check if the player is jumping. Probably best to use reflection to access it.

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.