Emissive texture on blocks

Started by CelestialMoths on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Emissive texture on blocks

So I'm trying to create a new block that spawns in the pale garden, and it's supposed to bloom at night like the eyeblossoms and glow in the dark like they do. I've checked the option for "emissive rendering" in the block properties, but it isn't rendering how I want it to. I have an extra texture to map where the glow should be, but you can only apply those textures to living entities for some reason. How did Mojang achieve this effect, and can I somehow do it too? I've already gotten it to bloom at the right time and now all I need is the emissive rendering.

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I solved it!!! So, basically…
Thu, 08/14/2025 - 19:20

I solved it!!! So, basically, what you need to do is make your .json file in blockbench with an extra cube face (or multiple, depending on where you need the emissive texture), map your normal texture with the emissive parts erased onto the first cube (will later be referred to as #0 in MCreator) and then map only the emissive parts on a different texture to the extra cube overlapping the original. You won't have to worry about Z-fighting because the textures won't overlap.

Next, before you import the .json into MCreator (because I had trouble editing it in MCreator not realizing I wasn't able to lock the custom model .json file before making changes and it wasn't saving), open it as a text file (or in something like IntelliJ) and add 

"shade": false,

just before the "faces": { on whichever faces you DON'T want to be emissive (just before the "texture": "#0" ones) and then add

"shade": false,
"light_emission": 15,

In the same spot (right before "faces": {) on the faces that you DO want to be emissive, which are the blocks of code that end in "texture": "#1".

It worked like a charm and now I have blocks with glowing parts of the texture!

Joined Aug 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I should note, I don't think…
Thu, 08/14/2025 - 20:31

I should note, I don't think you HAVE to add "shade": false, to textures that aren't emissive. Now that I look at it, I think that was only part of the eyeblossoms' code that I copied over. Still, it worked out for me as I actually prefer it, but doing that will probably cause some weird lighting if you don't want it.

Joined May 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you take a screenshot of…
Sun, 10/12/2025 - 10:39

Can you take a screenshot of your code because I'm having a hard time visualizing what you mean?

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the new way mcretor…
Tue, 10/14/2025 - 03:16

the new way mcretor/minecraft (idk witch) is handling emissive sucks so much now.. before all u had to do is do a black texture with the emissive parts only colored, boom simple and neat, now you set the emissive texture like that everything turns black beside the emissive parts.. u have to darken and 'guess' how much darker u need to set the thing.. a pain tbh

Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
its confusing, the regular…
Wed, 10/15/2025 - 05:02

its confusing, the regular emissive all u have to do is set transparent now and the rest u want emissive with the colors u want or white, but idk how to set this up for Iris complementary shader, some of my stuff is emissive rn others dont