Started by
ninjawizard1234
on
Topic category: Help with Minecraft modding (Java Edition)
about this :
https://mcreator.net/wiki/how-make-block
this part says:
- Enable emissive rendering: This property makes your block glow like a magma block.
but it does not say how we load/do the emissive texture, on entities we load the emissive texture on the visuals, but i dont see how to load it on blocks.
Also is it possible to make this somehow work with items that use block models?
An emissive texture just means that the brightness of the texture isn't effected by surrounding light levels. (This means that your block will appear the same regardless of how light or dark it is.)
It isn't possible to have separate emissive textures for blocks and items in vanilla, but it is possible using optifine. You can either make a custom resource pack to do this, or add the emissive textures into the mod, and an optifine emissive properties file, so that if optifine is installed the emissive textures will load automatically. (To get an idea of how this works, you can basically download any emissive resource pack and look at the file structure. As long as you put the files in the right part of your workspace's src, it should be fine. Though it's a little annoying as it seems impossible to install optifine in the test client, so you have to test the textures externally.)