How to block light with a custom 3D block

Started by gwagwa77777 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to block light with a custom 3D block

hi!! I know that custom 3D models for blocks allows light through by default, but is there any way to disable this? My custom block is being used for the ground layer of a biome and I don't want caves underneath to have light coming through when there shouldn't be. 

I've tried changing the transparency types and light opacity levels, it didn't make a difference.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nevermind all i had to do…
Sat, 11/04/2023 - 01:55

nevermind all i had to do was set the light opacity to 15 LOL

i guess if anyone else is having this issue, set it to 15 instead of 255 like i did 

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
....nevermind again, every…
Sat, 11/04/2023 - 05:10

....nevermind again, every time i set it to 15 it just forces itself back to 0.

any ideas on what to do here?

Joined May 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
maybe you'll need to lock…
Thu, 11/09/2023 - 23:20

maybe you'll need to lock the block, et in the files, and in one of them (which is a .json) you should find light opacity, put it back to 15

Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have you saved the block?…
Sat, 11/18/2023 - 11:49

Have you saved the block? Pretty sure X'ing out of the block without pressing the save button doesn't save your block.