public enum VoronoiBiomeAccessType extends Enum<VoronoiBiomeAccessType> implements BiomeAccessType
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
private static double |
calcSquaredDistance(long seed,
int x,
int y,
int z,
double xFraction,
double yFraction,
double zFraction) |
private static double |
distribute(long seed) |
Biome |
getBiome(long seed,
int x,
int y,
int z,
BiomeAccess.Storage storage) |
private static double |
square(double d) |
static VoronoiBiomeAccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VoronoiBiomeAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VoronoiBiomeAccessType INSTANCE
public static VoronoiBiomeAccessType[] values()
for (VoronoiBiomeAccessType c : VoronoiBiomeAccessType.values()) System.out.println(c);
public static VoronoiBiomeAccessType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Biome getBiome(long seed, int x, int y, int z, BiomeAccess.Storage storage)
getBiome
in interface BiomeAccessType
private static double calcSquaredDistance(long seed, int x, int y, int z, double xFraction, double yFraction, double zFraction)
private static double distribute(long seed)
private static double square(double d)