Jump to content

Recommended Posts

Posted

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!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.