Jump to content

[1.12.2] Fluid System


Recommended Posts

So, I am working on a mod and I wanted to add a fluid system, kinda like Thermal Dynamics or BuildCraft.

I would like to be able to have dynamic updating for the pipes, this is not needed at this moment though (I could probably find this out myself anyways, but any ideas for this is still appreciated.).

And ideas of how I would do this? Any pointers or suggestion are greatly appreciated.


Thank you in advance.



Edited by Ruthless_bug13
Link to comment
Share on other sites

If you want to know how to implement pipes, the common approach is create a pipe block and a tile entity with fluid handling capability. The pipe's tile entity should fill adjacent fluid-capable blocks, and you might want to prevent presence of more than one fluid in a pipe network. This can be done by binding the pipe to a fluid's name or fluid stack when a fluid enters it the first time. I don't know how to render liquids in pipe, though - never attempted it.

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.