Class HeightThresholdInterpolator
java.lang.Object
com.hypixel.hytale.server.worldgen.chunk.HeightThresholdInterpolator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CoreDataCacheEntry[]private final ChunkGeneratorExecutionstatic final intstatic final intprivate final intprivate final intprivate final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateInterpolatedBiomeCountAt(int cx, int cz, InterpolatedBiomeCountList biomeCountList) doublegetHeightNoise(int cx, int cz) floatgetHeightThreshold(int seed, int x, int z, int y) intgetHighestNonZero(int cx, int cz) intgetLowestNonOne(int cx, int cz) protected intindexLocal(int x, int z) private floatinterpolateHeightThreshold(int seed, int x, int z, int y) populate(int seed) protected voidsetTableEntry(int cx, int cz, CoreDataCacheEntry entry) protected CoreDataCacheEntrytableEntry(int cx, int cz) protected ZoneBiomeResultzoneBiomeResult(int cx, int cz)
-
Field Details
-
MAX_RADIUS
public static final int MAX_RADIUS- See Also:
-
MAX_RADIUS2
public static final int MAX_RADIUS2- See Also:
-
execution
-
entries
-
radius
private final int radius -
size
private final int size -
totalSize
private final int totalSize
-
-
Constructor Details
-
HeightThresholdInterpolator
-
-
Method Details
-
getEntries
-
populate
-
generateInterpolatedBiomeCountAt
public void generateInterpolatedBiomeCountAt(int cx, int cz, @Nonnull InterpolatedBiomeCountList biomeCountList) -
getHeightNoise
public double getHeightNoise(int cx, int cz) -
getHeightThreshold
public float getHeightThreshold(int seed, int x, int z, int y) -
interpolateHeightThreshold
private float interpolateHeightThreshold(int seed, int x, int z, int y) -
tableEntry
-
setTableEntry
-
zoneBiomeResult
-
getLowestNonOne
public int getLowestNonOne(int cx, int cz) -
getHighestNonZero
public int getHighestNonZero(int cx, int cz) -
indexLocal
protected int indexLocal(int x, int z)
-