String emblem = loco.getEmblem();
ResourceLocation emblemTexture = null;
if (emblem != null && !emblem.equals("") && EmblemToolsClient.packageManager != null)
emblemTexture = EmblemToolsClient.packageManager.getEmblemTextureLocation(emblem);
LocomotiveRenderType renderType = loco.getRenderType();
mods.railcraft.api.carts.locomotive.LocomotiveModelRenderer locoRenderer = renderType.getRenderer(loco.getModel());
locoRenderer.renderLocomotive(renderer, cart, primaryColor, secondaryColor, emblemTexture, light, time);
return false;
}