Sasai-Kudasai-BM / Water-Physics-Overhaul

48 stars 17 forks source link

Project Expansion Suggestion - Adding local PRESSURE flag #38

Closed ProfessionaFiddler closed 2 years ago

ProfessionaFiddler commented 2 years ago

If you ever find it interesting to achieve, you could code in pressure function to water bodies. For example, if fully obscured water body is being "blocked" (a block is placed/pushed inplace of a water block), this water body could carry pressure flag "1" now.

So in general, if a closed water body (no air touch), with pressure flag "n", comes in contact with air, it will try to release n blocks of water (tick based), until the flag is "0" again, or no more air is left to contact with.

I am not sure how your air pockets work, it could be a problem. But other than that, you could start a whole new engineering era in minecraft - the hydraulic one.

ProfessionaFiddler commented 2 years ago

P.S. - Addon Feature: Pressurized water bodies should leak, if exposed to air blocks DIAGONALY.

[water]-----[block]

[block]-----[air] - leak water until custom pressure or just "0"

ProfessionaFiddler commented 2 years ago

P.S. - More Addons: Contacted blocks' properties: Soil-based blocks like dirt/sand etc. could have this function disabled entirely (water will try to "rise" and interact with the top air block, like it usualy does). Glass could have a limitied pressure of "5" (and a pop function?), obsidian and netherite having the biggest limit (ca. 300)...