This commit is contained in:
abel1502 2025-06-03 14:08:02 +03:00
parent 20eb02e816
commit d9ef97f345
No known key found for this signature in database
GPG Key ID: 076926596A536338
2 changed files with 8 additions and 0 deletions

View File

@ -51,6 +51,7 @@ public class RenderBobble extends TileEntitySpecialRenderer {
public static final ResourceLocation bobble_mellow = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/mellowrpg8.png");
public static final ResourceLocation bobble_mellow_glow = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/mellowrpg8_glow.png");
public static final ResourceLocation bobble_abel = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/abel.png");
public static final ResourceLocation bobble_abel_glow = new ResourceLocation(RefStrings.MODID, "textures/models/trinkets/abel_glow.png");
private long time;
@ -478,6 +479,13 @@ public class RenderBobble extends TileEntitySpecialRenderer {
GL11.glDisable(GL11.GL_BLEND);
GL11.glPopAttrib();
break;
case ABEL:
GL11.glPushAttrib(GL11.GL_LIGHTING_BIT);
OpenGlHelper.setLightmapTextureCoords(OpenGlHelper.lightmapTexUnit, 240F, 240F);
bindTexture(bobble_abel_glow);
renderGuy(type);
GL11.glPopAttrib();
break;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 553 B