Minecraft – Block is transparent in hand, but white on ground

minecraft-java-edition

I am designing a texture pack for Minecraft. I am experimenting with transparent textures, and so I made stone transparent with black borders. It looks fine in my inventory, and in my hand, but when I place it the transparency turns white and the borders get unevenly thick.

As you can see, the block looks fine in my hand but breaks when I place it.

Blocks not showing tranparency

Best Answer

I have no idea why it isn't transparent, but the weird borders are formed because you put them on all four sides of the texture. If a 1-pixel line were to go next to another 1-pixel line, it would form a 2-pixel line only where they touch. Since your stone textures don't go to infinity, some sides will be thicker than others since the borders combine.