Hi, as you can see transparent gaps in the model display properly in blockbench, but when exported as a json file for my resourcepack, they get filled up. This doesn't happen for the item model however, which is odd.
The model is replacing a modded copper lantern block from Deeper Caves, if that helps
Would be really glad if someone could help
#Transparent parts of the texture not displaying in-game
20 messages ยท Page 1 of 1 (latest)
Welcome to the help forum!
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
Here's the block's model
Whether a block supports transparency in the texture is unfortunately decided by the code, not the model/resource pack.
No workarounds for that?
Forge or Fabric?
Forge
The original model has a transparent part though
I think in Forge you can add an extra line to your model to specify that (manually)
Then the mod creator either specified it in the model too instead of specifying it in code.
Or they used several cubes instead of 2 for the chain part
It is a single cube
Open their model in a text editor and check the first couple lines of text
There should be a line specifying that it supports transparency
(Only works like that in (neo)forge)
It seems to be in an older blockbench format
Weird, I see nothing in there that would make it support transparency independent of the code ๐ค
... I also see no texture specifications.
Maybe this is a parent model?
{
"parent": "cavesanddepths:custom/copper_lantern_floor",
"textures": {
"all": "cavesanddepths:block/copper_lantern",
"particle": "cavesanddepths:block/copper_lantern",
"0": "cavesanddepths:block/copper_lantern",
"missing": "cavesanddepths:block/copper_lantern"
},
"render_type": "cutout_mipped"
}
Yep, figured it out, thanks!