Package net.minecraft.util.math.noise
Class InterpolatedNoiseSampler
java.lang.Object
net.minecraft.util.math.noise.InterpolatedNoiseSampler
- All Implemented Interfaces:
DensityFunction
,DensityFunction.Base
- Mappings:
Namespace Name named net/minecraft/util/math/noise/InterpolatedNoiseSampler
intermediary net/minecraft/class_5822
official emx
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.world.gen.densityfunction.DensityFunction
DensityFunction.Base, DensityFunction.DensityFunctionVisitor, DensityFunction.EachApplier, DensityFunction.Noise, DensityFunction.NoisePos, DensityFunction.UnblendedNoisePos
-
Field Summary
Modifier and TypeFieldDescriptionstatic final CodecHolder
<InterpolatedNoiseSampler> private final OctavePerlinNoiseSampler
private final OctavePerlinNoiseSampler
private static final com.mojang.serialization.MapCodec
<InterpolatedNoiseSampler> private final double
private static final com.mojang.serialization.Codec
<Double> private final double
private final 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> double
maxValue()
double
minValue()
double
Returns the density value for the given block position.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.Base
apply, fill
-
Field Details
-
SCALE_AND_FACTOR_RANGE
- Mappings:
Namespace Name Mixin selector named SCALE_AND_FACTOR_RANGE
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;SCALE_AND_FACTOR_RANGE:Lcom/mojang/serialization/Codec;
intermediary field_38269
Lnet/minecraft/class_5822;field_38269:Lcom/mojang/serialization/Codec;
official e
Lemx;e:Lcom/mojang/serialization/Codec;
-
MAP_CODEC
- Mappings:
Namespace Name Mixin selector named MAP_CODEC
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;MAP_CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_38270
Lnet/minecraft/class_5822;field_38270:Lcom/mojang/serialization/MapCodec;
official f
Lemx;f:Lcom/mojang/serialization/MapCodec;
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;CODEC:Lnet/minecraft/util/dynamic/CodecHolder;
intermediary field_37206
Lnet/minecraft/class_5822;field_37206:Lnet/minecraft/class_7243;
official a
Lemx;a:Lays;
-
lowerInterpolatedNoise
- Mappings:
Namespace Name Mixin selector named lowerInterpolatedNoise
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;lowerInterpolatedNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary field_28774
Lnet/minecraft/class_5822;field_28774:Lnet/minecraft/class_3537;
official g
Lemx;g:Lenb;
-
upperInterpolatedNoise
- Mappings:
Namespace Name Mixin selector named upperInterpolatedNoise
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;upperInterpolatedNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary field_28775
Lnet/minecraft/class_5822;field_28775:Lnet/minecraft/class_3537;
official h
Lemx;h:Lenb;
-
interpolationNoise
- Mappings:
Namespace Name Mixin selector named interpolationNoise
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;interpolationNoise:Lnet/minecraft/util/math/noise/OctavePerlinNoiseSampler;
intermediary field_28776
Lnet/minecraft/class_5822;field_28776:Lnet/minecraft/class_3537;
official i
Lemx;i:Lenb;
-
scaledXzScale
private final double scaledXzScale- Mappings:
Namespace Name Mixin selector named scaledXzScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;scaledXzScale:D
intermediary field_38271
Lnet/minecraft/class_5822;field_38271:D
official j
Lemx;j:D
-
scaledYScale
private final double scaledYScale- Mappings:
Namespace Name Mixin selector named scaledYScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;scaledYScale:D
intermediary field_38272
Lnet/minecraft/class_5822;field_38272:D
official k
Lemx;k:D
-
xzFactor
private final double xzFactor- Mappings:
Namespace Name Mixin selector named xzFactor
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzFactor:D
intermediary field_38273
Lnet/minecraft/class_5822;field_38273:D
official l
Lemx;l:D
-
yFactor
private final double yFactor- Mappings:
Namespace Name Mixin selector named yFactor
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yFactor:D
intermediary field_38274
Lnet/minecraft/class_5822;field_38274:D
official m
Lemx;m:D
-
smearScaleMultiplier
private final double smearScaleMultiplier- Mappings:
Namespace Name Mixin selector named smearScaleMultiplier
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;smearScaleMultiplier:D
intermediary field_38275
Lnet/minecraft/class_5822;field_38275:D
official n
Lemx;n:D
-
maxValue
private final double maxValue- Mappings:
Namespace Name Mixin selector named maxValue
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;maxValue:D
intermediary field_36630
Lnet/minecraft/class_5822;field_36630:D
official o
Lemx;o:D
-
xzScale
private final double xzScale- Mappings:
Namespace Name Mixin selector named xzScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;xzScale:D
intermediary field_34752
Lnet/minecraft/class_5822;field_34752:D
official p
Lemx;p:D
-
yScale
private final double yScale- Mappings:
Namespace Name Mixin selector named yScale
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;yScale:D
intermediary field_34753
Lnet/minecraft/class_5822;field_34753:D
official q
Lemx;q: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 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
intermediary <init>
Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;Lnet/minecraft/class_3537;DDDDD)V
official <init>
Lemx;<init>(Lenb;Lenb;Lenb;DDDDD)V
-
InterpolatedNoiseSampler
public InterpolatedNoiseSampler(Random random, double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;<init>(Lnet/minecraft/util/math/random/Random;DDDDD)V
intermediary <init>
Lnet/minecraft/class_5822;<init>(Lnet/minecraft/class_5819;DDDDD)V
official <init>
Lemx;<init>(Lazh;DDDDD)V
-
-
Method Details
-
createBase3dNoiseFunction
public static InterpolatedNoiseSampler createBase3dNoiseFunction(double xzScale, double yScale, double xzFactor, double yFactor, double smearScaleMultiplier) - Mappings:
Namespace Name Mixin selector named createBase3dNoiseFunction
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;createBase3dNoiseFunction(DDDDD)Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;
intermediary method_42384
Lnet/minecraft/class_5822;method_42384(DDDDD)Lnet/minecraft/class_5822;
official a
Lemx;a(DDDDD)Lemx;
-
copyWithRandom
- Mappings:
Namespace Name Mixin selector named copyWithRandom
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;copyWithRandom(Lnet/minecraft/util/math/random/Random;)Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;
intermediary method_42386
Lnet/minecraft/class_5822;method_42386(Lnet/minecraft/class_5819;)Lnet/minecraft/class_5822;
official a
Lemx;a(Lazh;)Lemx;
-
sample
Returns the density value for the given block position.- Specified by:
sample
in interfaceDensityFunction
- Parameters:
pos
- the block position- Returns:
- the density value for the given block position
- Mappings:
Namespace Name Mixin selector named sample
Lnet/minecraft/world/gen/densityfunction/DensityFunction;sample(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)D
intermediary method_40464
Lnet/minecraft/class_6910;method_40464(Lnet/minecraft/class_6910$class_6912;)D
official a
Ldxp;a(Ldxp$b;)D
-
minValue
public double minValue()- Specified by:
minValue
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector named minValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;minValue()D
intermediary comp_377
Lnet/minecraft/class_6910;comp_377()D
official a
Ldxp;a()D
-
maxValue
public double maxValue()- Specified by:
maxValue
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector named maxValue
Lnet/minecraft/world/gen/densityfunction/DensityFunction;maxValue()D
intermediary comp_378
Lnet/minecraft/class_6910;comp_378()D
official b
Ldxp;b()D
-
addDebugInfo
- Mappings:
Namespace Name Mixin selector named addDebugInfo
Lnet/minecraft/util/math/noise/InterpolatedNoiseSampler;addDebugInfo(Ljava/lang/StringBuilder;)V
intermediary method_39117
Lnet/minecraft/class_5822;method_39117(Ljava/lang/StringBuilder;)V
official a
Lemx;a(Ljava/lang/StringBuilder;)V
-
getCodecHolder
- Specified by:
getCodecHolder
in interfaceDensityFunction
- Mappings:
Namespace Name Mixin selector named getCodecHolder
Lnet/minecraft/world/gen/densityfunction/DensityFunction;getCodecHolder()Lnet/minecraft/util/dynamic/CodecHolder;
intermediary method_41062
Lnet/minecraft/class_6910;method_41062()Lnet/minecraft/class_7243;
official c
Ldxp;c()Lays;
-