Water Physics Overhaul

Water Physics Overhaul

321k Downloads

Glass pane bug

caramellizedd opened this issue ยท 2 comments

commented

So i found a bug that makes water pass-through glass-pane i dont know if this do the same on other partial-typed blocks
if you need video for proof i would gladly record it and sent one

commented

This is cause Glass panes can be waterlogged so it will work with other blocks

commented

Specifically the reason is that

  1. glass panes are waterlogged, so they can contain water and let water pass through (like fences and iron bars)
  2. glass panes do not have a full side, like for example stairs. WPO checks internally whether a block's side is completely blocked, and does not move water through that side.

It would be pretty easy to add a check to prevent water flow through glass panes, but without completely overhauling the rendering and filling only part of the block, it would look really odd with water either not touching the glass or protruding through it.