Good day. There was a question about the change of color of the sky.
What file specifies the color of the sky?
Try to put it in WorldProvider:
@Override
public boolean isSkyColored()
{
return true;
}
@Override
public Vector3 getSkyColor() {
float f = 1.0F - this.getStarBrightness(1.0F);
return new Vector3(205 / 255.0F * f, 145 / 255.0F * f, 158 / 255.0F * f);
}
Only got this:
What file specifies the color of the sky?
Try to put it in WorldProvider:
@Override
public boolean isSkyColored()
{
return true;
}
@Override
public Vector3 getSkyColor() {
float f = 1.0F - this.getStarBrightness(1.0F);
return new Vector3(205 / 255.0F * f, 145 / 255.0F * f, 158 / 255.0F * f);
}
Only got this: