Jump to content

[1.8] Under water blocks


Kander16

Recommended Posts

Hi,

 

I want to create a non-full block that has to be placed under water.

If I use a custom rendered block (like fences), it will fill the remaining block space with air instead of water.

Now I want the empty block space to be filled with water instead of air.

Is this possible and how do I signal minecraft to fill the empty block space with water?

If this isn't possible, what is the best way to mimic the effect of water in the block?

 

Thanks.

Creator of the Master Chef Mod and many more to come.

 

If I helped you, please click the 'thank you' button.

Link to comment
Share on other sites

You could use water material, render will be done by the game. However, that would mean you should add "Level" blockstate (like fluids) to avoid crashing the game.

This method work and is easy to implements however there are some render glitch near non-opaque blocks (expect water), glass for instance.

 

Or as diesieben07 said, you could create a block model, but it's more difficult I think. (For side rendering)

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.

Guest
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.

Announcements



×
×
  • Create New...

Important Information

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