Class NoiseSampler
java.lang.Object
net.minecraft.world.level.levelgen.NoiseSampler
-
Field Summary
Modifier and TypeFieldDescriptionprotected static float[]
protected BiomeSource
private double
private double
private double
protected int
protected int
protected int
private double
private double
protected NoiseSettings
private static int
private double
private double
private double
-
Constructor Summary
ConstructorDescriptionNoiseSampler(BiomeSource p_158658_, int p_158659_, int p_158660_, int p_158661_, NoiseSettings p_158662_, BlendedNoise p_158663_, SimplexNoise p_158664_, PerlinNoise p_158665_, NoiseModifier p_158666_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected double
applySlide(double p_158668_, int p_158669_)
protected double
computeInitialDensity(int p_158671_, double p_158672_, double p_158673_, double p_158674_)
void
fillNoiseColumn(double[] p_158679_, int p_158680_, int p_158681_, NoiseSettings p_158682_, int p_158683_, int p_158684_, int p_158685_)
protected double
getRandomDensity(int p_158676_, int p_158677_)
-
Field Details
-
OLD_CELL_COUNT_Y
private static final int OLD_CELL_COUNT_Y- See Also:
- Constant Field Values
-
BIOME_WEIGHTS
protected static final float[] BIOME_WEIGHTS -
biomeSource
-
cellWidth
protected final int cellWidth -
cellHeight
protected final int cellHeight -
cellCountY
protected final int cellCountY -
noiseSettings
-
blendedNoise
-
islandNoise
-
depthNoise
-
topSlideTarget
private final double topSlideTarget -
topSlideSize
private final double topSlideSize -
topSlideOffset
private final double topSlideOffset -
bottomSlideTarget
private final double bottomSlideTarget -
bottomSlideSize
private final double bottomSlideSize -
bottomSlideOffset
private final double bottomSlideOffset -
dimensionDensityFactor
private final double dimensionDensityFactor -
dimensionDensityOffset
private final double dimensionDensityOffset -
caveNoiseModifier
-
-
Constructor Details
-
NoiseSampler
public NoiseSampler(BiomeSource p_158658_, int p_158659_, int p_158660_, int p_158661_, NoiseSettings p_158662_, BlendedNoise p_158663_, @Nullable SimplexNoise p_158664_, PerlinNoise p_158665_, NoiseModifier p_158666_)
-
-
Method Details
-
fillNoiseColumn
public void fillNoiseColumn(double[] p_158679_, int p_158680_, int p_158681_, NoiseSettings p_158682_, int p_158683_, int p_158684_, int p_158685_) -
computeInitialDensity
protected double computeInitialDensity(int p_158671_, double p_158672_, double p_158673_, double p_158674_) -
applySlide
protected double applySlide(double p_158668_, int p_158669_) -
getRandomDensity
protected double getRandomDensity(int p_158676_, int p_158677_)
-