I've begun tinkering around with modding, and have made a couple of new blocks. But blocks that have alpha parts on their textures render fully opaque in world.
They're translucent in my inventory, and in my hand, but when placed in the world, they're suddenly opaque.
I've been googling for a while now, but all the results are people talking about weird rendering glitches, and such.
I use Eclipse, Forge, and Minecraft 1.12.2.
I only learned Java a week ago, so please be very specific with your answers, or in asking me for more information.
Thanks in advance.
There are a few methods related to that. I can't quite remember which ones, but you might want to look at my "cloud" block in my example code: https://github.com/jabelar/ExampleMod-1.12/blob/master/src/main/java/com/blogspot/jabelarminecraft/examplemod/blocks/BlockCloud.java
Note firstly that I extended BlockIce, so you should also look at that code:
I think the first thing is to make sure that getBlockLayer() should return TRANSLUCENT