protected static class EndDensitySource.IslandCache extends TerrainDoubleCache
| Modifier and Type | Field and Description |
|---|---|
protected net.daporkchop.lib.noise.NoiseSource |
island |
protected NoiseGenerator |
islandNoise |
protected double |
islandRadius |
protected NoiseGenerator |
islandWeight |
protected double |
outerIslandSeedThreshold |
protected double |
outerIslandStartRadiusSq |
protected net.daporkchop.lib.noise.NoiseSource |
weight |
cacheCache, NaN, radius, scale| Constructor and Description |
|---|
IslandCache(int radius,
double islandRadius,
double outerIslandStartRadius,
double outerIslandSeedThreshold,
NoiseGenerator islandNoise,
NoiseGenerator islandWeight) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeValue(int x,
int z,
int radius,
int scale) |
protected void |
init(@NonNull net.daporkchop.lib.random.PRandom random) |
getprotected net.daporkchop.lib.noise.NoiseSource island
protected net.daporkchop.lib.noise.NoiseSource weight
protected double islandRadius
protected double outerIslandStartRadiusSq
protected double outerIslandSeedThreshold
protected NoiseGenerator islandNoise
protected NoiseGenerator islandWeight
public IslandCache(int radius,
double islandRadius,
double outerIslandStartRadius,
double outerIslandSeedThreshold,
NoiseGenerator islandNoise,
NoiseGenerator islandWeight)
protected void init(@NonNull
@NonNull net.daporkchop.lib.random.PRandom random)
protected double computeValue(int x,
int z,
int radius,
int scale)
computeValue in class TerrainDoubleCacheCopyright © 2020. All rights reserved.