Jump to content

[1.16.2] Create custom sand-like block that falls upwards

spicy shrek

Recommended Posts



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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

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