JSON Models transparency issue

Started by Eonaut on

Topic category: Advanced modding

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
JSON Models transparency issue

For some reason, whenever I ty to use a texture with blank pixels in spots, in minecraft, the held item looks like it is suppossed to, but the placed block has either black or white pixels filling in the blank areas. See image below for reference. Does anyone know how to fix this?

https://www.dropbox.com/s/83z3q4yhsn3f0l9/Untitled.png?dl=0

Last seen on 12:26, 30. Nov 2020
Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if it will work
Sat, 09/16/2017 - 15:51

I don't know if it will work with JSON models but I had a simular issue in my Transmatic mod before as the glass was ment to be transparent. It would not be transparent and it will fill up clear spaces with white pixels.

Below where you import the JSON models in the transparency section, tick the box and choose the options out of solid, cutout, cutout_mipped and translucent. Here what each one of them does.

SOLID - Not transparent.
Cutout - Transparent without mipmapping (like glass).
Cutout mipped - Transparent with mipmapping.
Translucent - Slightly transparent (like ice).

Last seen on 23:44, 18. Aug 2019
Joined Apr 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:I don't know if it will work
Sat, 09/16/2017 - 22:41

@#1

Thanks. I figured that out not long after posting this topic, but still, thanks for clarifying what exactly each transparency options does.