Hello, I'm trying to make a mod with a block with a custom model and a partly transparent texture. Problem is, parts of the texture which are supposed to be transparent are showing as black.
Here's the image I'm using as the texture for the models. I made it in GIMP and exported it in 8-bit RGBA.
Screenshot from image editor:
Originally my block used the same model as the cocoa bean block, but I had the same issue somehow, which leads me to believe it is a code issue. I included the images as background information. Here is the full source code for my block, which is modified from the source for the cocoa block:
No... I'm sorry this is only my second mod, and I'm kinda mediocre at modding. I just searched the source and found the file you mentioned. Tried calling setRenderLayer() before registering, seemed to make sense; didn't work. Got it working though when I called the method after registering. Thank you so much!