Which version of Minecraft was this implemented in?
This does not work on the 1.16.5 version because it does not recognize invisible textures, although I am able to make crafting recipes for blocks.
But only z-fighting ones where the invisible texture doesn't work or they remove how glass panes work in the next update or two.
This is rather a frustrating update where invisible is not a recognizable texture, which then uses more resources, and it makes no sense that a texture works for both items and entities but not for a block.
You should be able to copy the code from BlockGlass (or whatever they call it in 1.16.5), which renders transparency without any issues; likewise, translucent blocks should be able to use the code from BlockIce or other similar vanilla blocks (I only mod 1.6.4 so I have no idea exactly how newer versions work but they should have the same basic code that tells whether adjacent blocks should render next to them and whether the texture is opaque only (no transparency allowed, which is new to 1.8+), transparent/opaque (0/100% transparency), or translucent).