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.

spicy shrek

Members
  • Joined

  • Last visited

Everything posted by spicy shrek

  1. Hey, I'm familiar with Java but very new to modding so this might be a dumb question, if so please point me in the right direction. How would I begin to go about creating a block that is like sand except falls upward if there are no blocks above it? Right now I just have a block class that extends falling block, but I have no idea where to go from here. I looked at these docs on FallingBlock objects hoping I might get some insight into what FallingBlock method I might override, or how sand handles falling, but they seemed a bit outdated, calling it BlockFalling not FallingBlock. The docs did show that FallingBlock has some methods I thought might be interesting, like onStartFalling, but the docs only name the method and its parameters. Is there any way to see its code? I'm not even completely sure that I'm not going about this the entirely wrong way. For all I know there is just some gravity acceleration float that I have to make positive instead of negative. So basically my question is how does sand fall in minecraft, and how do I make something fall differently, specifically in terms of direction. If there is any more information I need to post to make the question answerable please lmk.

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.