[TUTORIAL] Emissive Textures For Geckolib Items for MCreator 2024.4

Started by calv5440 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] Emissive Textures For Geckolib Items for MCreator 2024.4

Here's a tutorial for anyone that wants to know how to add an emissive/glow texture to their geckolib animated item as there's not a lot of information online about how to do this. This is for 2024.4 but it might work on older versions I haven't tested it though. Also here's the link to the wiki page that helped me do this if you want to read it yourself: https://github.com/bernie-g/geckolib/wiki/Emissive-Textures-(Geckolib4)

First you need to make a duplicate texture of your base texture with "_glowmask" after the texture name. Make sure to delete any pixels you don't want to show. Then import the texture through mcreator like you normally would for an item.

Now go to your animated item and edit the code of the ItemRenderer, add this line to the imports:

 import software.bernie.geckolib.renderer.layer.AutoGlowingGeoLayer;

Now add this line to the public class underneath the super:

    this.addRenderLayer(new AutoGlowingGeoLayer<>(this));

So it should look like this after:

   public class ExampleItemRenderer extends GeoItemRenderer<ExampleItem> {
    public ExampleItemRenderer() {
    super(new ExampleItemModel());
    this.addRenderLayer(new AutoGlowingGeoLayer<>(this));

Then save and lock the code and that's it! You should now see the glow texture in game.