Class VanillaTerrainParameters
java.lang.Object
net.minecraft.world.biome.source.util.VanillaTerrainParameters
- Mappings:
Namespace Name official cbf
intermediary net/minecraft/class_6555
named net/minecraft/world/biome/source/util/VanillaTerrainParameters
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static enum
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Spline<VanillaTerrainParameters.NoisePoint>
static final com.mojang.serialization.Codec<VanillaTerrainParameters>
private static final com.mojang.serialization.Codec<Spline<VanillaTerrainParameters.NoisePoint>>
private static final ToFloatFunction<Float>
private static final float
private final Spline<VanillaTerrainParameters.NoisePoint>
private final Spline<VanillaTerrainParameters.NoisePoint>
-
Constructor Summary
ConstructorDescriptionVanillaTerrainParameters
(Spline<VanillaTerrainParameters.NoisePoint> offsetSpline, Spline<VanillaTerrainParameters.NoisePoint> factorSpline, Spline<VanillaTerrainParameters.NoisePoint> peakSpline) -
Method Summary
Modifier and TypeMethodDescriptionprivate static Spline<VanillaTerrainParameters.NoisePoint>
buildErosionFactorSpline
(float value, boolean bool, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
createFlatOffsetSpline
(float float2, float float3, float float4, float float5, float float6, float float7, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
createLandSpline
(float float2, float float3, float float4, float float5, float float6, float float7, boolean bool, boolean bool2, ToFloatFunction<Float> toFloatFunction) createNoisePoint
(float continentalnessNoise, float erosionNoise, float weirdnessNoise) float
static float
getNormalizedWeirdness
(float weirdness) float
private static float
getOffsetValue
(float weirdness, float continentalness, float weirdnessThreshold) float
private static float
method_38210
(float float2, float float3, float float4, float float5) private static float
method_38217
(float continentalness) private static Spline<VanillaTerrainParameters.NoisePoint>
method_38219
(float float2, boolean bool, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
method_38855
(float float2, float float3, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
method_38856
(float float2, float float3, float float4, float float5, ToFloatFunction<Float> toFloatFunction) private static Spline<VanillaTerrainParameters.NoisePoint>
method_38857
(float float2, ToFloatFunction<Float> toFloatFunction) static VanillaTerrainParameters
method_39457
(boolean bool) private static float
method_39534
(float float2) private static float
method_39535
(float float2) private static float
method_39536
(float float2) void
writeDebugBiomes
(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters)
-
Field Details
-
field_35457
private static final com.mojang.serialization.Codec<Spline<VanillaTerrainParameters.NoisePoint>> field_35457- Mappings:
Namespace Name Mixin selector official b
Lcbf;b:Lcom/mojang/serialization/Codec;
intermediary field_35457
Lnet/minecraft/class_6555;field_35457:Lcom/mojang/serialization/Codec;
named field_35457
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;field_35457:Lcom/mojang/serialization/Codec;
-
field_35456
- Mappings:
Namespace Name Mixin selector official a
Lcbf;a:Lcom/mojang/serialization/Codec;
intermediary field_35456
Lnet/minecraft/class_6555;field_35456:Lcom/mojang/serialization/Codec;
named field_35456
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;field_35456:Lcom/mojang/serialization/Codec;
-
OFFSET_VALUE_OFFSET
private static final float OFFSET_VALUE_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lcbf;c:F
intermediary field_34531
Lnet/minecraft/class_6555;field_34531:F
named OFFSET_VALUE_OFFSET
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;OFFSET_VALUE_OFFSET:F
-
field_35673
- Mappings:
Namespace Name Mixin selector official d
Lcbf;d:Laje;
intermediary field_35673
Lnet/minecraft/class_6555;field_35673:Lnet/minecraft/class_6501;
named field_35673
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;field_35673:Lnet/minecraft/util/function/ToFloatFunction;
-
offsetSpline
- Mappings:
Namespace Name Mixin selector official e
Lcbf;e:Lahy;
intermediary field_34528
Lnet/minecraft/class_6555;field_34528:Lnet/minecraft/class_6492;
named offsetSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;offsetSpline:Lnet/minecraft/util/math/Spline;
-
factorSpline
- Mappings:
Namespace Name Mixin selector official f
Lcbf;f:Lahy;
intermediary field_34529
Lnet/minecraft/class_6555;field_34529:Lnet/minecraft/class_6492;
named factorSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;factorSpline:Lnet/minecraft/util/math/Spline;
-
peakSpline
- Mappings:
Namespace Name Mixin selector official g
Lcbf;g:Lahy;
intermediary field_34530
Lnet/minecraft/class_6555;field_34530:Lnet/minecraft/class_6492;
named peakSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;peakSpline:Lnet/minecraft/util/math/Spline;
-
-
Constructor Details
-
VanillaTerrainParameters
public VanillaTerrainParameters(Spline<VanillaTerrainParameters.NoisePoint> offsetSpline, Spline<VanillaTerrainParameters.NoisePoint> factorSpline, Spline<VanillaTerrainParameters.NoisePoint> peakSpline) - Mappings:
Namespace Name Mixin selector official <init>
Lcbf;<init>(Lahy;Lahy;Lahy;)V
intermediary <init>
Lnet/minecraft/class_6555;<init>(Lnet/minecraft/class_6492;Lnet/minecraft/class_6492;Lnet/minecraft/class_6492;)V
named <init>
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;<init>(Lnet/minecraft/util/math/Spline;Lnet/minecraft/util/math/Spline;Lnet/minecraft/util/math/Spline;)V
-
-
Method Details
-
method_39534
private static float method_39534(float float2) - Mappings:
Namespace Name Mixin selector official b
Lcbf;b(F)F
intermediary method_39534
Lnet/minecraft/class_6555;method_39534(F)F
named method_39534
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_39534(F)F
-
method_39535
private static float method_39535(float float2) - Mappings:
Namespace Name Mixin selector official c
Lcbf;c(F)F
intermediary method_39535
Lnet/minecraft/class_6555;method_39535(F)F
named method_39535
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_39535(F)F
-
method_39536
private static float method_39536(float float2) - Mappings:
Namespace Name Mixin selector official d
Lcbf;d(F)F
intermediary method_39536
Lnet/minecraft/class_6555;method_39536(F)F
named method_39536
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_39536(F)F
-
method_39457
- Mappings:
Namespace Name Mixin selector official a
Lcbf;a(Z)Lcbf;
intermediary method_39457
Lnet/minecraft/class_6555;method_39457(Z)Lnet/minecraft/class_6555;
named method_39457
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_39457(Z)Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;
-
method_38856
private static Spline<VanillaTerrainParameters.NoisePoint> method_38856(float float2, float float3, float float4, float float5, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FFFFLaje;)Lahy;
intermediary method_38856
Lnet/minecraft/class_6555;method_38856(FFFFLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named method_38856
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_38856(FFFFLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
method_38855
private static Spline<VanillaTerrainParameters.NoisePoint> method_38855(float float2, float float3, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FFLaje;)Lahy;
intermediary method_38855
Lnet/minecraft/class_6555;method_38855(FFLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named method_38855
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_38855(FFLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
method_38857
private static Spline<VanillaTerrainParameters.NoisePoint> method_38857(float float2, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FLaje;)Lahy;
intermediary method_38857
Lnet/minecraft/class_6555;method_38857(FLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named method_38857
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_38857(FLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
buildErosionFactorSpline
private static Spline<VanillaTerrainParameters.NoisePoint> buildErosionFactorSpline(float value, boolean bool, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FZLaje;)Lahy;
intermediary method_38213
Lnet/minecraft/class_6555;method_38213(FZLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named buildErosionFactorSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;buildErosionFactorSpline(FZLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
method_38210
private static float method_38210(float float2, float float3, float float4, float float5) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FFFF)F
intermediary method_38210
Lnet/minecraft/class_6555;method_38210(FFFF)F
named method_38210
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_38210(FFFF)F
-
method_38219
private static Spline<VanillaTerrainParameters.NoisePoint> method_38219(float float2, boolean bool, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official b
Lcbf;b(FZLaje;)Lahy;
intermediary method_38219
Lnet/minecraft/class_6555;method_38219(FZLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named method_38219
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_38219(FZLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
getOffsetValue
private static float getOffsetValue(float weirdness, float continentalness, float weirdnessThreshold) - Mappings:
Namespace Name Mixin selector official b
Lcbf;b(FFF)F
intermediary method_38218
Lnet/minecraft/class_6555;method_38218(FFF)F
named getOffsetValue
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getOffsetValue(FFF)F
-
method_38217
private static float method_38217(float continentalness) - Mappings:
Namespace Name Mixin selector official e
Lcbf;e(F)F
intermediary method_38217
Lnet/minecraft/class_6555;method_38217(F)F
named method_38217
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_38217(F)F
-
createLandSpline
private static Spline<VanillaTerrainParameters.NoisePoint> createLandSpline(float float2, float float3, float float4, float float5, float float6, float float7, boolean bool, boolean bool2, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FFFFFFZZLaje;)Lahy;
intermediary method_38212
Lnet/minecraft/class_6555;method_38212(FFFFFFZZLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named createLandSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;createLandSpline(FFFFFFZZLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
createFlatOffsetSpline
private static Spline<VanillaTerrainParameters.NoisePoint> createFlatOffsetSpline(float float2, float float3, float float4, float float5, float float6, float float7, ToFloatFunction<Float> toFloatFunction) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FFFFFFLaje;)Lahy;
intermediary method_38211
Lnet/minecraft/class_6555;method_38211(FFFFFFLnet/minecraft/class_6501;)Lnet/minecraft/class_6492;
named createFlatOffsetSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;createFlatOffsetSpline(FFFFFFLnet/minecraft/util/function/ToFloatFunction;)Lnet/minecraft/util/math/Spline;
-
writeDebugBiomes
public void writeDebugBiomes(Consumer<com.mojang.datafixers.util.Pair<MultiNoiseUtil.NoiseHypercube, RegistryKey<Biome>>> parameters) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(Ljava/util/function/Consumer;)V
intermediary method_38215
Lnet/minecraft/class_6555;method_38215(Ljava/util/function/Consumer;)V
named writeDebugBiomes
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;writeDebugBiomes(Ljava/util/function/Consumer;)V
-
getOffsetSpline
- Mappings:
Namespace Name Mixin selector official a
Lcbf;a()Lahy;
intermediary method_38207
Lnet/minecraft/class_6555;method_38207()Lnet/minecraft/class_6492;
named getOffsetSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getOffsetSpline()Lnet/minecraft/util/math/Spline;
-
getFactorSpline
- Mappings:
Namespace Name Mixin selector official b
Lcbf;b()Lahy;
intermediary method_38216
Lnet/minecraft/class_6555;method_38216()Lnet/minecraft/class_6492;
named getFactorSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getFactorSpline()Lnet/minecraft/util/math/Spline;
-
getPeakSpline
- Mappings:
Namespace Name Mixin selector official c
Lcbf;c()Lahy;
intermediary method_39288
Lnet/minecraft/class_6555;method_39288()Lnet/minecraft/class_6492;
named getPeakSpline
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getPeakSpline()Lnet/minecraft/util/math/Spline;
-
getOffset
- Mappings:
Namespace Name Mixin selector official a
Lcbf;a(Lcbf$b;)F
intermediary method_38214
Lnet/minecraft/class_6555;method_38214(Lnet/minecraft/class_6555$class_6556;)F
named getOffset
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getOffset(Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint;)F
-
getFactor
- Mappings:
Namespace Name Mixin selector official b
Lcbf;b(Lcbf$b;)F
intermediary method_38220
Lnet/minecraft/class_6555;method_38220(Lnet/minecraft/class_6555$class_6556;)F
named getFactor
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getFactor(Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint;)F
-
getPeak
- Mappings:
Namespace Name Mixin selector official c
Lcbf;c(Lcbf$b;)F
intermediary method_38221
Lnet/minecraft/class_6555;method_38221(Lnet/minecraft/class_6555$class_6556;)F
named getPeak
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getPeak(Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint;)F
-
createNoisePoint
public VanillaTerrainParameters.NoisePoint createNoisePoint(float continentalnessNoise, float erosionNoise, float weirdnessNoise) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(FFF)Lcbf$b;
intermediary method_38209
Lnet/minecraft/class_6555;method_38209(FFF)Lnet/minecraft/class_6555$class_6556;
named createNoisePoint
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;createNoisePoint(FFF)Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint;
-
getNormalizedWeirdness
public static float getNormalizedWeirdness(float weirdness) - Mappings:
Namespace Name Mixin selector official a
Lcbf;a(F)F
intermediary method_38208
Lnet/minecraft/class_6555;method_38208(F)F
named getNormalizedWeirdness
Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;getNormalizedWeirdness(F)F
-