Package net.minecraft.util.math.noise
Class InterpolatedNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.InterpolatedNoiseSampler
- All Implemented Interfaces:
DensityFunction
,DensityFunction.class_6913
- Mappings:
Namespace Name official dhz
intermediary net/minecraft/class_5822
named net/minecraft/util/math/noise/InterpolatedNoiseSampler
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
DensityFunction.class_6911, DensityFunction.class_6913, DensityFunction.DensityFunctionVisitor, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
static final com.mojang.serialization.Codec<InterpolatedNoiseSampler>
private final double
static final InterpolatedNoiseSampler
private final OctavePerlinNoiseSampler
private final OctavePerlinNoiseSampler
private final OctavePerlinNoiseSampler
private final double
private final double
private final double
private final double
Fields inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
field_37057, field_37059, REGISTRY_ENTRY_CODEC
-
Constructor Summary
ModifierConstructorDescriptionprivate
InterpolatedNoiseSampler
(OctavePerlinNoiseSampler lowerInterpolatedNoise, OctavePerlinNoiseSampler upperInterpolatedNoise, OctavePerlinNoiseSampler interpolationNoise, NoiseSamplingConfig config, int cellWidth, int cellHeight) InterpolatedNoiseSampler
(AbstractRandom random, NoiseSamplingConfig config, int cellWidth, int cellHeight) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(StringBuilder info) com.mojang.serialization.Codec<? extends DensityFunction>
getCodec()
double
maxValue()
double
minValue()
double
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
abs, clamp, cube, halfNegative, quarterNegative, square, squeeze
Methods inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction.class_6913
apply, method_40470
-
Field Details
-
field_37205
- Mappings:
Namespace Name Mixin selector official a
Ldhz;a:Ldhz;
intermediary field_37205
Lnet/minecraft/class_5822;field_37205:Lnet/minecraft/class_5822;
named field_37205
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_37205:Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;
-
CODEC
- Mappings:
Namespace Name Mixin selector official e
Ldhz;e:Lcom/mojang/serialization/Codec;
intermediary field_37206
Lnet/minecraft/class_5822;field_37206:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;CODEC:Lcom/mojang/serialization/Codec;
-
lowerInterpolatedNoise
- Mappings:
Namespace Name Mixin selector official f
Ldhz;f:Ldid;
intermediary field_28774
Lnet/minecraft/class_5822;field_28774:Lnet/minecraft/class_3537;
named lowerInterpolatedNoise
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;lowerInterpolatedNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
-
upperInterpolatedNoise
- Mappings:
Namespace Name Mixin selector official g
Ldhz;g:Ldid;
intermediary field_28775
Lnet/minecraft/class_5822;field_28775:Lnet/minecraft/class_3537;
named upperInterpolatedNoise
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;upperInterpolatedNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
-
interpolationNoise
- Mappings:
Namespace Name Mixin selector official h
Ldhz;h:Ldid;
intermediary field_28776
Lnet/minecraft/class_5822;field_28776:Lnet/minecraft/class_3537;
named interpolationNoise
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;interpolationNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
-
xzScale
private final double xzScale- Mappings:
Namespace Name Mixin selector official i
Ldhz;i:D
intermediary field_34752
Lnet/minecraft/class_5822;field_34752:D
named xzScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzScale:D
-
yScale
private final double yScale- Mappings:
Namespace Name Mixin selector official j
Ldhz;j:D
intermediary field_34753
Lnet/minecraft/class_5822;field_34753:D
named yScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yScale:D
-
xzMainScale
private final double xzMainScale- Mappings:
Namespace Name Mixin selector official k
Ldhz;k:D
intermediary field_34754
Lnet/minecraft/class_5822;field_34754:D
named xzMainScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzMainScale:D
-
yMainScale
private final double yMainScale- Mappings:
Namespace Name Mixin selector official l
Ldhz;l:D
intermediary field_34755
Lnet/minecraft/class_5822;field_34755:D
named yMainScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yMainScale:D
-
cellWidth
private final int cellWidth- Mappings:
Namespace Name Mixin selector official m
Ldhz;m:I
intermediary field_34756
Lnet/minecraft/class_5822;field_34756:I
named cellWidth
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;cellWidth:I
-
cellHeight
private final int cellHeight- Mappings:
Namespace Name Mixin selector official n
Ldhz;n:I
intermediary field_34757
Lnet/minecraft/class_5822;field_34757:I
named cellHeight
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;cellHeight:I
-
field_36630
private final double field_36630- Mappings:
Namespace Name Mixin selector official o
Ldhz;o:D
intermediary field_36630
Lnet/minecraft/class_5822;field_36630:D
named field_36630
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_36630:D
-
-
Constructor Details
-
InterpolatedNoiseSampler
private InterpolatedNoiseSampler(OctavePerlinNoiseSampler lowerInterpolatedNoise, OctavePerlinNoiseSampler upperInterpolatedNoise, OctavePerlinNoiseSampler interpolationNoise, NoiseSamplingConfig config, int cellWidth, int cellHeight) - Mappings:
Namespace Name Mixin selector official <init>
Ldhz;<init>(Ldid;Ldid;Ldid;Lcuf;II)V
intermediary <init>
Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;Lnet/minecraft/class_5308;II)V
named <init>
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;<init>(Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;Lnet/minecraft/world/gen/chunk/NoiseSamplingConfig;II)V
-
InterpolatedNoiseSampler
public InterpolatedNoiseSampler(AbstractRandom random, NoiseSamplingConfig config, int cellWidth, int cellHeight) - Mappings:
Namespace Name Mixin selector official <init>
Ldhz;<init>(Lcun;Lcuf;II)V
intermediary <init>
Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_5819;Lnet/minecraft/class_5308;II)V
named <init>
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;<init>(Lnet/minecraft/world/gen/random/AbstractRandom;Lnet/minecraft/world/gen/chunk/NoiseSamplingConfig;II)V
-
-
Method Details
-
sample
- Specified by:
sample
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official a
Lctp;a(Lctp$b;)D
intermediary method_40464
Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)D
named sample
Lnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
-
minValue
public double minValue()- Specified by:
minValue
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official a
Lctp;a()D
intermediary comp_377
Lnet/minecraft/class_6910;comp_377()D
named minValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
-
maxValue
public double maxValue()- Specified by:
maxValue
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official b
Lctp;b()D
intermediary comp_378
Lnet/minecraft/class_6910;comp_378()D
named maxValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
-
addDebugInfo
- Mappings:
Namespace Name Mixin selector official a
Ldhz;a(Ljava/lang/StringBuilder;)V
intermediary method_39117
Lnet/minecraft/class_5822;method_39117(Ljava/lang/StringBuilder;)V
named addDebugInfo
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;addDebugInfo(Ljava/lang/StringBuilder;)V
-
getCodec
- Specified by:
getCodec
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official c
Lctp;c()Lcom/mojang/serialization/Codec;
intermediary method_41062
Lnet/minecraft/class_6910;method_41062()Lcom/mojang/serialization/Codec;
named getCodec
Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodec()Lcom/mojang/serialization/Codec;
-