Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[Help] Changing sky color not working.


Recommended Posts

Alright, so I'm currently changing the sky color of a dimension I have. The sky will appear as a different color [neither the correct one] depending on which way you look. I've tried fiddling with both extensively, but I either just get bright blue or this duo-color.

 

My sky color code in biome class:

    @Override

    @SideOnly(Side.CLIENT)

    public int getSkyColorByTemp(float par1) {

        return Color.YELLOW.getRGB();

    }

 

In world provider class, the celestial angle:

@Override

    public float calculateCelestialAngle(long var1, float var3) {

        return 0.25F;

    }

 

Link to post
Share on other sites
  • 2 years later...

there's a hook in the EntityRender class in the updateFogColor method.

I think if you setup an event handler with a method that accepts FogColors you should to do it. ex: onFogColorUpdate(FogColors event){}

 

Link to post
Share on other sites
1 hour ago, LRocket said:

there's a hook in the EntityRender class in the updateFogColor method.

I think if you setup an event handler with a method that accepts FogColors you should to do it. ex: onFogColorUpdate(FogColors event){}

I know that er.setupFog() is private, was that replaced by updateFogColor()?

Link to post
Share on other sites
Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.