Data-driven sublevel collisions with fluids#393
Data-driven sublevel collisions with fluids#393squigglesdev wants to merge 3 commits intoryanhcode:mainfrom
Conversation
Random-Scientist
left a comment
There was a problem hiding this comment.
Please remove the binary changes from this PR; we only commit natives built by GHA to avoid a contribution of malicious or non-reproduceable binaries. When your PR is merged the natives will be built by GHA and updated automatically.
|
I have also discovered with these new tags that while admittedly they are not technically a fluid, the Leaving out a buoyancy related tag means that even this light block of oak planks won't float up to the surface like it would on water. |
|
Could this work per-dimension? I feel lava should be a viscous fluid in the overworld, but runny in the nether, as shown by its flow speed and distance in each dimension. |
|
It absolutely could be, but I think the tags would start getting a bit verbose... |

This PR gives fluids two properties:
buoyancyandviscosity. This allows for any sublevels that come into contact with these fluids to behave more "realistically". Closes #246.It adds 4 more block tags, along with their corresponding physics block properties:
#sable:low_buoyancy_fluid#sable:high_buoyancy_fluid#sable:runny_fluid#sable:viscous_liquid(Bubble columns are hard-coded.)