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.

DHunter

Members
  • Joined

  • Last visited

  1. It not work .... if(player.getCurrentItemOrArmor(1) != null){ ItemStack boots = player.getCurrentItemOrArmor(1); if(boots.getItem() == Basic.Flippers){ if(player.isInWater()) { float f = 2.0F; player.motionX *= f; player.motionZ *= f; } } }
  2. i know "if (player.isWet)" but i need the speed up code
  3. How can i add movement speed in water without Potion Effect? what code should i enter ?
  4. Thanks for your reply I am the first time to code Helmet, so I didn't know it well Can you give the sources code to be example?
  5. Hi Guys, Today I have 2 questions 1. I want in the mod is when the player jump into the water, then the mod will add an effect to the player and need the player wear the helmet, also when he leave the water, then the potion effect will disappear? 2. How to make a plant in a water? I google it so many, still can't fix the problem I am the first time to post here, if have any Grammar problem, Sorry

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.