{
GalacticraftCore.packetPipeline.sendToServer(new PacketSimple(PacketSimple.EnumSimplePacket.S_REQUEST_OVERWORLD_IMAGE, new Object[] {}));
ClientProxyCore.overworldTextureRequestSent = true;
}
WorldProviderMoon gcProvider = null;
if (world.provider instanceof WorldProviderMoon)
{
gcProvider = (WorldProviderMoon) world.provider;
}
GL11.glDisable(GL11.GL_TEXTURE_2D);
GL11.glColor3f(1, 1, 1);
final Tessellator var23 = Tessellator.instance;
GL11.glDepthMask(false);
GL11.glEnable(GL11.GL_FOG);
GL11.glColor3f(0, 0, 0);
GL11.glCallList(this.glSkyList);
GL11.glDisable(GL11.GL_FOG);
GL11.glDisable(GL11.GL_ALPHA_TEST);
GL11.glEnable(GL11.GL_BLEND);
GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
RenderHelper.disableStandardItemLighting();
float var10;
float var11;
float var12;
float var20 = 0;
if (gcProvider != null)
{
var20 = gcProvider.getStarBrightness(partialTicks);
}
if (var20 > 0.0F)
{
GL11.glColor4f(1.0F, 1.0F, 1.0F, var20);