Accept squared distances
This commit is contained in:
parent
5a0a6d4d3f
commit
abd445114f
1 changed files with 8 additions and 0 deletions
|
@ -69,6 +69,14 @@ public class GeneratorOptions {
|
|||
GeneratorOptions.farEndBiomesSqr = (long) distance * (long) distance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set distance of far End biomes generation, in blocks^2
|
||||
* @param distanceSqr the distance squared
|
||||
*/
|
||||
public static void setFarEndBiomesSqr(long distanceSqr) {
|
||||
GeneratorOptions.farEndBiomesSqr = distanceSqr;
|
||||
}
|
||||
|
||||
public static boolean customNetherBiomeSource() {
|
||||
return customNetherBiomeSource;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue