I know this is sort of in between modding and resource packs, but this is for a mod and it possibly has to do with the class so I'll attempt to ask here:
the issue is my block, when placed, shows the transparent pixels as white, while in the inventory it doesn't, the alpha channel seems correct, and I tried debugging the model file and it still doesn't work, so here are the files bellow, maybe someone more experienced can find the issue
https://github.com/ClaraArmada/Serilis/blob/mc1.20.x/src/main/resources/assets/serilis/textures/block/gifts/red_gift.png
- png texture file
https://github.com/ClaraArmada/Serilis/blob/mc1.20.x/src/main/resources/assets/serilis/models/block/loot_gift.json
- block model
https://github.com/ClaraArmada/Serilis/blob/mc1.20.x/src/main/java/com/github/ClaraArmada/serilis/world/blocks/SmallBox.java
- the class for the block
thank you for reading and helping!