Class NoiseBasedStateProvider
java.lang.Object
net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
net.minecraft.world.level.levelgen.feature.stateproviders.NoiseBasedStateProvider
- Direct Known Subclasses:
NoiseProvider
,NoiseThresholdProvider
-
Field Summary
Modifier and TypeFieldDescriptionprotected final NormalNoise
protected final NormalNoise.NoiseParameters
protected final float
protected final long
Fields inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
CODEC
-
Constructor Summary
ModifierConstructorDescriptionprotected
NoiseBasedStateProvider
(long p_191422_, NormalNoise.NoiseParameters p_191423_, float p_191424_) -
Method Summary
Modifier and TypeMethodDescriptionprotected double
getNoiseValue
(BlockPos p_191430_, double p_191431_) protected static <P extends NoiseBasedStateProvider>
com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, Long, NormalNoise.NoiseParameters, Float> noiseCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_191426_) Methods inherited from class net.minecraft.world.level.levelgen.feature.stateproviders.BlockStateProvider
getState, simple, simple, type
-
Field Details
-
seed
protected final long seed -
parameters
-
scale
protected final float scale -
noise
-
-
Constructor Details
-
NoiseBasedStateProvider
protected NoiseBasedStateProvider(long p_191422_, NormalNoise.NoiseParameters p_191423_, float p_191424_)
-
-
Method Details
-
noiseCodec
protected static <P extends NoiseBasedStateProvider> com.mojang.datafixers.Products.P3<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Long, noiseCodecNormalNoise.NoiseParameters, Float> (com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_191426_) -
getNoiseValue
-