mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
New assets and overlays!
This commit is contained in:
1 parent
a95f231fcc
commit
12c2c6099f
15 files changed
+86
-70
No files matched your search
@@ -20,8 +20,8 @@ import cpw.mods.fml.relauncher.SideOnly;
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class ModelEnergyCube extends ModelBase
|
||||
{
|
||||
public static ResourceLocation LED_ON = MekanismUtils.getResource(ResourceType.RENDER, "EnergyCube_On.png");
|
||||
public static ResourceLocation LED_OFF = MekanismUtils.getResource(ResourceType.RENDER, "EnergyCube_Off.png");
|
||||
public static ResourceLocation OVERLAY_ON = MekanismUtils.getResource(ResourceType.RENDER, "EnergyCube_OverlayOn.png");
|
||||
public static ResourceLocation OVERLAY_OFF = MekanismUtils.getResource(ResourceType.RENDER, "EnergyCube_OverlayOff.png");
|
||||
|
||||
ModelRenderer frame12;
|
||||
ModelRenderer frame11;
|
||||
@@ -412,7 +412,7 @@ public class ModelEnergyCube extends ModelBase
|
||||
}
|
||||
}
|
||||
|
||||
renderer.bindTexture(state == IOState.OUTPUT ? LED_ON : LED_OFF);
|
||||
renderer.bindTexture(state == IOState.OUTPUT ? OVERLAY_ON : OVERLAY_OFF);
|
||||
|
||||
if(state == IOState.OUTPUT)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user