ClassiCube-Client
ClassiCube-Client copied to clipboard
Water block rendering not quite right
Bottom-most water block overlaps with the block below it from certain angles.

Happens with lava too.

If you look closely at the top right corner, you can see it slightly overlaps the adjacent glass block on one side, and there is a slight gap on the other side.

@123DMWM Unfortunately, your fix causes problems with transparent blocks..

The Texture is generated as 16x16 but the block is 16x15. This'll be a good place to start looking for a solution
The correct way is to set the LiquidBlock bounds to setBounds(0F, 0F, 0F, 1F, 0.95F, 1F);

However this causes a graphical issue with flowing water

The extra pixel appears to exist to fix this issue