Class VanillaTerrainParameters

java.lang.Object
net.minecraft.world.biome.source.util.VanillaTerrainParameters

public final class VanillaTerrainParameters extends Object
Mappings:
Namespace Name
official cbm
intermediary net/minecraft/class_6555
named net/minecraft/world/biome/source/util/VanillaTerrainParameters
  • Field Details

    • field_35457

      private static final com.mojang.serialization.Codec<Spline<VanillaTerrainParameters.NoisePoint>> field_35457
      Mappings:
      Namespace Name Mixin selector
      official b Lcbm;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;
    • CODEC

      public static final com.mojang.serialization.Codec<VanillaTerrainParameters> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcbm;a:Lcom/mojang/serialization/Codec;
      intermediary field_35456 Lnet/minecraft/class_6555;field_35456:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;CODEC:Lcom/mojang/serialization/Codec;
    • OFFSET_VALUE_OFFSET

      private static final float OFFSET_VALUE_OFFSET
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lcbm;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

      private static final ToFloatFunction<Float> field_35673
      Mappings:
      Namespace Name Mixin selector
      official d Lcbm;d:Lajl;
      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

      private final Spline<VanillaTerrainParameters.NoisePoint> offsetSpline
      Mappings:
      Namespace Name Mixin selector
      official e Lcbm;e:Laie;
      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

      private final Spline<VanillaTerrainParameters.NoisePoint> factorSpline
      Mappings:
      Namespace Name Mixin selector
      official f Lcbm;f:Laie;
      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

      private final Spline<VanillaTerrainParameters.NoisePoint> peakSpline
      Mappings:
      Namespace Name Mixin selector
      official g Lcbm;g:Laie;
      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> Lcbm;<init>(Laie;Laie;Laie;)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 Lcbm;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 Lcbm;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 Lcbm;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
    • createSurfaceParameters

      public static VanillaTerrainParameters createSurfaceParameters(boolean amplified)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbm;a(Z)Lcbm;
      intermediary method_39457 Lnet/minecraft/class_6555;method_39457(Z)Lnet/minecraft/class_6555;
      named createSurfaceParameters Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;createSurfaceParameters(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 Lcbm;a(FFFFLajl;)Laie;
      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 Lcbm;a(FFLajl;)Laie;
      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 Lcbm;a(FLajl;)Laie;
      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 Lcbm;a(FZLajl;)Laie;
      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 Lcbm;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 Lcbm;b(FZLajl;)Laie;
      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 Lcbm;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 Lcbm;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 Lcbm;a(FFFFFFZZLajl;)Laie;
      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 Lcbm;a(FFFFFFLajl;)Laie;
      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 Lcbm;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

      public Spline<VanillaTerrainParameters.NoisePoint> getOffsetSpline()
      Mappings:
      Namespace Name Mixin selector
      official a Lcbm;a()Laie;
      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

      public Spline<VanillaTerrainParameters.NoisePoint> getFactorSpline()
      Mappings:
      Namespace Name Mixin selector
      official b Lcbm;b()Laie;
      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 Lcbm;c()Laie;
      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

      public float getOffset(VanillaTerrainParameters.NoisePoint point)
      Mappings:
      Namespace Name Mixin selector
      official a Lcbm;a(Lcbm$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

      public float getFactor(VanillaTerrainParameters.NoisePoint point)
      Mappings:
      Namespace Name Mixin selector
      official b Lcbm;b(Lcbm$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

      public float getPeak(VanillaTerrainParameters.NoisePoint point)
      Mappings:
      Namespace Name Mixin selector
      official c Lcbm;c(Lcbm$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 Lcbm;a(FFF)Lcbm$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 Lcbm;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