How does minecraft render water? Is it possible in godot

Godot Version

v4.2.2.stable.official [15073afe3]

Question

I’m working on a voxel game and need to be able to render water similar to how minecraft does it, where the blocks behind one are discarded.

To my understanding Bedrock edition renders all the water in one pass, opaque and then blends it but I also have no clue how to do that.

Images for demo
Imgur
Imgur

Tommorow morning I’ll try adding another layer to each chunk for transparent blocks, i’ll post update here