In skyblock, use horizon height and void fade as in Void biome. (#2634)

This commit is contained in:
Rafal Kolanski authored and Vincent Lee committed 2018-06-18 19:25:10 -07:00
1 parent 0a400e2384
commit ba29aff21e
1 file changed
+12
@@ -61,4 +61,16 @@ public class WorldTypeSkyblock extends WorldType {
return flat;
}
/* In skyblock worlds, do not darken the sky until player hits y=0 */
@Override
public double getHorizon(World world)
{
return 0.0D;
}
@Override
public double voidFadeMagnitude() {
return 1.0D;
}
}