Package net.minecraft.world.gen
Class NoiseColumnSampler
java.lang.Object
net.minecraft.world.gen.NoiseColumnSampler
public class NoiseColumnSampler extends Object
- Mappings:
Namespace Name official cmp
intermediary net/minecraft/class_5818
named net/minecraft/world/gen/NoiseColumnSampler
-
Field Summary
Fields Modifier and Type Field Description private static float[]
BIOME_WEIGHT_TABLE
private BiomeSource
biomeSource
private double
bottomSlideOffset
private double
bottomSlideSize
private double
bottomSlideTarget
private GenerationShapeConfig
config
private double
densityFactor
private OctavePerlinNoiseSampler
densityNoise
private double
densityOffset
private int
horizontalNoiseResolution
private SimplexNoiseSampler
islandNoise
private InterpolatedNoise
noise
private int
noiseSizeY
private double
topSlideOffset
private double
topSlideSize
private double
topSlideTarget
private int
verticalNoiseResolution
-
Constructor Summary
Constructors Constructor Description NoiseColumnSampler(BiomeSource biomeSource, int horizontalNoiseResolution, int verticalNoiseResolution, int noiseSizeY, GenerationShapeConfig config, InterpolatedNoise noise, SimplexNoiseSampler islandNoise, OctavePerlinNoiseSampler densityNoise)
-
Method Summary
Modifier and Type Method Description private double
applySlides(double noise, int y)
private double
getDensityNoise(int x, int z)
private double
getOffset(int y, double depth, double scale, double randomDensityOffset)
void
sampleNoiseColumn(double[] buffer, int x, int z, GenerationShapeConfig config, int seaLevel, int minY, int noiseSizeY)
-
Field Details
-
BIOME_WEIGHT_TABLE
private static final float[] BIOME_WEIGHT_TABLE- Mappings:
Namespace Name Mixin selector official a
Lcmp;a:[F
intermediary field_28749
Lnet/minecraft/class_5818;field_28749:[F
named BIOME_WEIGHT_TABLE
Lnet/minecraft/world/gen/NoiseColumnSampler;BIOME_WEIGHT_TABLE:[F
-
biomeSource
- Mappings:
Namespace Name Mixin selector official b
Lcmp;b:Lbux;
intermediary field_28750
Lnet/minecraft/class_5818;field_28750:Lnet/minecraft/class_1966;
named biomeSource
Lnet/minecraft/world/gen/NoiseColumnSampler;biomeSource:Lnet/minecraft/world/biome/source/BiomeSource;
-
horizontalNoiseResolution
private final int horizontalNoiseResolution- Mappings:
Namespace Name Mixin selector official c
Lcmp;c:I
intermediary field_28751
Lnet/minecraft/class_5818;field_28751:I
named horizontalNoiseResolution
Lnet/minecraft/world/gen/NoiseColumnSampler;horizontalNoiseResolution:I
-
verticalNoiseResolution
private final int verticalNoiseResolution- Mappings:
Namespace Name Mixin selector official d
Lcmp;d:I
intermediary field_28752
Lnet/minecraft/class_5818;field_28752:I
named verticalNoiseResolution
Lnet/minecraft/world/gen/NoiseColumnSampler;verticalNoiseResolution:I
-
noiseSizeY
private final int noiseSizeY- Mappings:
Namespace Name Mixin selector official e
Lcmp;e:I
intermediary field_28753
Lnet/minecraft/class_5818;field_28753:I
named noiseSizeY
Lnet/minecraft/world/gen/NoiseColumnSampler;noiseSizeY:I
-
config
- Mappings:
Namespace Name Mixin selector official f
Lcmp;f:Lcmr;
intermediary field_28754
Lnet/minecraft/class_5818;field_28754:Lnet/minecraft/class_5309;
named config
Lnet/minecraft/world/gen/NoiseColumnSampler;config:Lnet/minecraft/world/gen/chunk/GenerationShapeConfig;
-
noise
- Mappings:
Namespace Name Mixin selector official g
Lcmp;g:Lczm;
intermediary field_28755
Lnet/minecraft/class_5818;field_28755:Lnet/minecraft/class_5822;
named noise
Lnet/minecraft/world/gen/NoiseColumnSampler;noise:Lnet/minecraft/util/math/noise/InterpolatedNoise;
-
islandNoise
- Mappings:
Namespace Name Mixin selector official h
Lcmp;h:Lczr;
intermediary field_28756
Lnet/minecraft/class_5818;field_28756:Lnet/minecraft/class_3541;
named islandNoise
Lnet/minecraft/world/gen/NoiseColumnSampler;islandNoise:Lnet/minecraft/util/math/noise/SimplexNoiseSampler;
-
densityNoise
- Mappings:
Namespace Name Mixin selector official i
Lcmp;i:Lczp;
intermediary field_28757
Lnet/minecraft/class_5818;field_28757:Lnet/minecraft/class_3537;
named densityNoise
Lnet/minecraft/world/gen/NoiseColumnSampler;densityNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
-
topSlideTarget
private final double topSlideTarget- Mappings:
Namespace Name Mixin selector official j
Lcmp;j:D
intermediary field_28758
Lnet/minecraft/class_5818;field_28758:D
named topSlideTarget
Lnet/minecraft/world/gen/NoiseColumnSampler;topSlideTarget:D
-
topSlideSize
private final double topSlideSize- Mappings:
Namespace Name Mixin selector official k
Lcmp;k:D
intermediary field_28759
Lnet/minecraft/class_5818;field_28759:D
named topSlideSize
Lnet/minecraft/world/gen/NoiseColumnSampler;topSlideSize:D
-
topSlideOffset
private final double topSlideOffset- Mappings:
Namespace Name Mixin selector official l
Lcmp;l:D
intermediary field_28760
Lnet/minecraft/class_5818;field_28760:D
named topSlideOffset
Lnet/minecraft/world/gen/NoiseColumnSampler;topSlideOffset:D
-
bottomSlideTarget
private final double bottomSlideTarget- Mappings:
Namespace Name Mixin selector official m
Lcmp;m:D
intermediary field_28761
Lnet/minecraft/class_5818;field_28761:D
named bottomSlideTarget
Lnet/minecraft/world/gen/NoiseColumnSampler;bottomSlideTarget:D
-
bottomSlideSize
private final double bottomSlideSize- Mappings:
Namespace Name Mixin selector official n
Lcmp;n:D
intermediary field_28762
Lnet/minecraft/class_5818;field_28762:D
named bottomSlideSize
Lnet/minecraft/world/gen/NoiseColumnSampler;bottomSlideSize:D
-
bottomSlideOffset
private final double bottomSlideOffset- Mappings:
Namespace Name Mixin selector official o
Lcmp;o:D
intermediary field_28763
Lnet/minecraft/class_5818;field_28763:D
named bottomSlideOffset
Lnet/minecraft/world/gen/NoiseColumnSampler;bottomSlideOffset:D
-
densityFactor
private final double densityFactor- Mappings:
Namespace Name Mixin selector official p
Lcmp;p:D
intermediary field_28764
Lnet/minecraft/class_5818;field_28764:D
named densityFactor
Lnet/minecraft/world/gen/NoiseColumnSampler;densityFactor:D
-
densityOffset
private final double densityOffset- Mappings:
Namespace Name Mixin selector official q
Lcmp;q:D
intermediary field_28765
Lnet/minecraft/class_5818;field_28765:D
named densityOffset
Lnet/minecraft/world/gen/NoiseColumnSampler;densityOffset:D
-
-
Constructor Details
-
NoiseColumnSampler
public NoiseColumnSampler(BiomeSource biomeSource, int horizontalNoiseResolution, int verticalNoiseResolution, int noiseSizeY, GenerationShapeConfig config, InterpolatedNoise noise, @Nullable SimplexNoiseSampler islandNoise, OctavePerlinNoiseSampler densityNoise)- Mappings:
Namespace Name Mixin selector official <init>
Lcmp;<init>(Lbux;IIILcmr;Lczm;Lczr;Lczp;)V
intermediary <init>
Lnet/minecraft/class_5818;<init>(Lnet/minecraft/class_1966;IIILnet/minecraft/class_5309;Lnet/minecraft/class_5822;Lnet/minecraft/class_3541;Lnet/minecraft/class_3537;)V
named <init>
Lnet/minecraft/world/gen/NoiseColumnSampler;<init>(Lnet/minecraft/world/biome/source/BiomeSource;IIILnet/minecraft/world/gen/chunk/GenerationShapeConfig;Lnet/minecraft/util/math/noise/InterpolatedNoise;Lnet/minecraft/util/math/noise/SimplexNoiseSampler;Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;)V
-
-
Method Details
-
sampleNoiseColumn
public void sampleNoiseColumn(double[] buffer, int x, int z, GenerationShapeConfig config, int seaLevel, int minY, int noiseSizeY)- Mappings:
Namespace Name Mixin selector official a
Lcmp;a([DIILcmr;III)V
intermediary method_33648
Lnet/minecraft/class_5818;method_33648([DIILnet/minecraft/class_5309;III)V
named sampleNoiseColumn
Lnet/minecraft/world/gen/NoiseColumnSampler;sampleNoiseColumn([DIILnet/minecraft/world/gen/chunk/GenerationShapeConfig;III)V
-
getOffset
private double getOffset(int y, double depth, double scale, double randomDensityOffset)- Mappings:
Namespace Name Mixin selector official a
Lcmp;a(IDDD)D
intermediary method_33646
Lnet/minecraft/class_5818;method_33646(IDDD)D
named getOffset
Lnet/minecraft/world/gen/NoiseColumnSampler;getOffset(IDDD)D
-
applySlides
private double applySlides(double noise, int y)- Mappings:
Namespace Name Mixin selector official a
Lcmp;a(DI)D
intermediary method_33645
Lnet/minecraft/class_5818;method_33645(DI)D
named applySlides
Lnet/minecraft/world/gen/NoiseColumnSampler;applySlides(DI)D
-
getDensityNoise
private double getDensityNoise(int x, int z)- Mappings:
Namespace Name Mixin selector official a
Lcmp;a(II)D
intermediary method_33647
Lnet/minecraft/class_5818;method_33647(II)D
named getDensityNoise
Lnet/minecraft/world/gen/NoiseColumnSampler;getDensityNoise(II)D
-