Skip to content
Permalink
Browse files

Fixed the lighting on Acheron and Varda

  • Loading branch information...
Ri5ux Ri5ux
Ri5ux authored and Ri5ux committed Jul 20, 2019
1 parent 4bc18f3 commit c9094153841981c9eee5b9517fb2a786f9c2f61f
@@ -31,7 +31,9 @@ public boolean isSurfaceWorld()
@Override
protected void init()
{
this.hasSkyLight = true;
this.biomeProvider = new BiomeProviderAcheron(BiomeAcheron.acheron);
this.generateLightBrightnessTable();
}

@Override
@@ -123,6 +125,12 @@ public float getSunBrightness(float angle)
brightness = (float) (brightness * (1.0D - this.world.getThunderStrength(angle) * 5.0F / 16.0D));
return brightness * 0.05F;
}

@Override
public float getSunBrightnessFactor(float par1)
{
return super.getSunBrightnessFactor(par1);
}

@Override
public boolean canDoRainSnowIce(Chunk chunk)
@@ -57,6 +57,7 @@ public IChunkGenerator createChunkGenerator()
@Override
protected void init()
{
this.hasSkyLight = true;
this.biomeProvider = new BiomeProviderVarda(this.getSeed(), WorldType.DEFAULT);
}

0 comments on commit c909415

Please sign in to comment.
You can’t perform that action at this time.