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 dnz
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.class_7270, DensityFunction.DensityFunctionVisitor, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CodecHolder<InterpolatedNoiseSampler>
private static final com.mojang.serialization.MapCodec<InterpolatedNoiseSampler>
private final double
private final double
private final OctavePerlinNoiseSampler
private final OctavePerlinNoiseSampler
private final double
private static final com.mojang.serialization.Codec<Double>
private final double
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
FUNCTION_CODEC, REGISTRY_ENTRY_CODEC
-
Constructor Summary
ModifierConstructorDescriptionprivate
InterpolatedNoiseSampler
(OctavePerlinNoiseSampler lowerInterpolatedNoise, OctavePerlinNoiseSampler upperInterpolatedNoise, OctavePerlinNoiseSampler interpolationNoise, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) InterpolatedNoiseSampler
(Random random, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDebugInfo
(StringBuilder info) copyWithRandom
(Random random) static InterpolatedNoiseSampler
createBase3dNoiseFunction
(double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) CodecHolder<? 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
-
SCALE_AND_FACTOR_RANGE
- Mappings:
Namespace Name Mixin selector official e
Ldnz;e:Lcom/mojang/serialization/Codec;
intermediary field_38269
Lnet/minecraft/class_5822;field_38269:Lcom/mojang/serialization/Codec;
named SCALE_AND_FACTOR_RANGE
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;SCALE_AND_FACTOR_RANGE:Lcom/mojang/serialization/Codec;
-
field_38270
- Mappings:
Namespace Name Mixin selector official f
Ldnz;f:Lcom/mojang/serialization/MapCodec;
intermediary field_38270
Lnet/minecraft/class_5822;field_38270:Lcom/mojang/serialization/MapCodec;
named field_38270
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_38270:Lcom/mojang/serialization/MapCodec;
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldnz;a:Lalj;
intermediary field_37206
Lnet/minecraft/class_5822;field_37206:Lnet/minecraft/class_7243;
named CODEC
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;CODEC:Lnet/minecraft/util/dynamic/CodecHolder;
-
lowerInterpolatedNoise
- Mappings:
Namespace Name Mixin selector official g
Ldnz;g:Ldod;
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 h
Ldnz;h:Ldod;
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 i
Ldnz;i:Ldod;
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;
-
field_38271
private final double field_38271- Mappings:
Namespace Name Mixin selector official j
Ldnz;j:D
intermediary field_38271
Lnet/minecraft/class_5822;field_38271:D
named field_38271
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_38271:D
-
field_38272
private final double field_38272- Mappings:
Namespace Name Mixin selector official k
Ldnz;k:D
intermediary field_38272
Lnet/minecraft/class_5822;field_38272:D
named field_38272
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;field_38272:D
-
xzFactor
private final double xzFactor- Mappings:
Namespace Name Mixin selector official l
Ldnz;l:D
intermediary field_38273
Lnet/minecraft/class_5822;field_38273:D
named xzFactor
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzFactor:D
-
yFactor
private final double yFactor- Mappings:
Namespace Name Mixin selector official m
Ldnz;m:D
intermediary field_38274
Lnet/minecraft/class_5822;field_38274:D
named yFactor
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yFactor:D
-
smearScaleMultiplier
private final double smearScaleMultiplier- Mappings:
Namespace Name Mixin selector official n
Ldnz;n:D
intermediary field_38275
Lnet/minecraft/class_5822;field_38275:D
named smearScaleMultiplier
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;smearScaleMultiplier:D
-
maxValue
private final double maxValue- Mappings:
Namespace Name Mixin selector official o
Ldnz;o:D
intermediary field_36630
Lnet/minecraft/class_5822;field_36630:D
named maxValue
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;maxValue:D
-
xzScale
private final double xzScale- Mappings:
Namespace Name Mixin selector official p
Ldnz;p: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 q
Ldnz;q:D
intermediary field_34753
Lnet/minecraft/class_5822;field_34753:D
named yScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yScale:D
-
-
Constructor Details
-
InterpolatedNoiseSampler
private InterpolatedNoiseSampler(OctavePerlinNoiseSampler lowerInterpolatedNoise, OctavePerlinNoiseSampler upperInterpolatedNoise, OctavePerlinNoiseSampler interpolationNoise, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) - Mappings:
Namespace Name Mixin selector official <init>
Ldnz;<init>(Ldod;Ldod;Ldod;DDDDD)V
intermediary <init>
Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;DDDDD)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;DDDDD)V
-
InterpolatedNoiseSampler
public InterpolatedNoiseSampler(Random random, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) - Mappings:
Namespace Name Mixin selector official <init>
Ldnz;<init>(Lalu;DDDDD)V
intermediary <init>
Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_5819;DDDDD)V
named <init>
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;<init>(Lnet/minecraft/util/math/random/Random;DDDDD)V
-
-
Method Details
-
createBase3dNoiseFunction
public static InterpolatedNoiseSampler createBase3dNoiseFunction(double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) - Mappings:
Namespace Name Mixin selector official a
Ldnz;a(DDDDD)Ldnz;
intermediary method_42384
Lnet/minecraft/class_5822;method_42384(DDDDD)Lnet/minecraft/class_5822;
named createBase3dNoiseFunction
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;createBase3dNoiseFunction(DDDDD)Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;
-
copyWithRandom
- Mappings:
Namespace Name Mixin selector official a
Ldnz;a(Lalu;)Ldnz;
intermediary method_42386
Lnet/minecraft/class_5822;method_42386(Lnet/minecraft/class_5819;)Lnet/minecraft/class_5822;
named copyWithRandom
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;copyWithRandom(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;
-
sample
- Specified by:
sample
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector official a
Lczm;a(Lczm$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
Lczm;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
Lczm;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
Ldnz;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
Lczm;c()Lalj;
intermediary method_41062
Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;
named getCodec
Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodec()Lnet/minecraft/util/dynamic/CodecHolder;
-