[Help] Custom Sky in Custom Planet\Moon

BlesseNtumble

Member
Content developer
Galaxy Space
Space Ambient
Nov 1, 2014
314
70
28
26
α Centauri Bb
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:
dp5734nqbjie.png
 

Share this page