Jump to content

Recommended Posts

Posted

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;

    }

 

  • 2 years later...
Posted

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){}

 

Posted
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()?

  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.