public static enum BiomeGrid.NormalType extends Enum<BiomeGrid.NormalType>
Enum Constant and Description |
---|
LEGACY |
LOOKUP |
LOOKUP4096 |
Modifier and Type | Method and Description |
---|---|
protected abstract FastNoiseLite.NoiseType |
getNoiseType() |
protected abstract int |
getOctaves() |
protected abstract int |
normalize(double i,
int range)
Takes a noise input and normalizes it to a value between 0 and 15 inclusive.
|
static BiomeGrid.NormalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BiomeGrid.NormalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BiomeGrid.NormalType LEGACY
public static final BiomeGrid.NormalType LOOKUP
public static final BiomeGrid.NormalType LOOKUP4096
public static BiomeGrid.NormalType[] values()
for (BiomeGrid.NormalType c : BiomeGrid.NormalType.values()) System.out.println(c);
public static BiomeGrid.NormalType 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 nullprotected abstract int normalize(double i, int range)
i
- - The noise value to normalize.protected abstract FastNoiseLite.NoiseType getNoiseType()
protected abstract int getOctaves()
Copyright © 2020. All rights reserved.