Record Class VanillaTerrainParameters

java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.util.VanillaTerrainParameters
Record Components:
offsetSpline -
factorSpline -
peakSpline -

public record VanillaTerrainParameters(Spline<VanillaTerrainParameters.NoisePoint> offsetSpline, Spline<VanillaTerrainParameters.NoisePoint> factorSpline, Spline<VanillaTerrainParameters.NoisePoint> peakSpline) extends Record
Mappings:
Namespace Name
official cce
intermediary net/minecraft/class_6555
named net/minecraft/world/biome/source/util/VanillaTerrainParameters
official c
intermediary comp_464
named offsetSpline
official d
intermediary comp_465
named factorSpline
official e
intermediary comp_466
named peakSpline
  • Field Details

    • offsetSpline

      private final Spline<VanillaTerrainParameters.NoisePoint> offsetSpline
      The field for the offsetSpline record component.
    • factorSpline

      private final Spline<VanillaTerrainParameters.NoisePoint> factorSpline
      The field for the factorSpline record component.
    • peakSpline

      private final Spline<VanillaTerrainParameters.NoisePoint> peakSpline
      The field for the peakSpline record component.
    • field_35457

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

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

      public static final com.mojang.serialization.Codec<VanillaTerrainParameters> CODEC
      Mappings:
      Namespace Name Mixin selector
      official b Lcce;b: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 g Lcce;g: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 h Lcce;h:Lajy;
      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;
  • Constructor Details

  • Method Details

    • method_39534

      private static float method_39534(float float2)
      Mappings:
      Namespace Name Mixin selector
      official b Lcce;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 Lcce;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 Lcce;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 Lcce;a(Z)Lcce;
      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 Lcce;a(FFFFLajy;)Lair;
      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 Lcce;a(FFLajy;)Lair;
      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 Lcce;a(FLajy;)Lair;
      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 Lcce;a(FZLajy;)Lair;
      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 Lcce;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 Lcce;b(FZLajy;)Lair;
      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 Lcce;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 Lcce;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 Lcce;a(FFFFFFZZLajy;)Lair;
      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 Lcce;a(FFFFFFLajy;)Lair;
      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 Lcce;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
    • offsetSpline

      Returns the value of the offsetSpline record component.
      Returns:
      the value of the offsetSpline record component
    • factorSpline

      Returns the value of the factorSpline record component.
      Returns:
      the value of the factorSpline record component
    • peakSpline

      Returns the value of the peakSpline record component.
      Returns:
      the value of the peakSpline record component
    • getOffset

      public float getOffset(VanillaTerrainParameters.NoisePoint point)
      Mappings:
      Namespace Name Mixin selector
      official a Lcce;a(Lcce$c;)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 Lcce;b(Lcce$c;)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 Lcce;c(Lcce$c;)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 static VanillaTerrainParameters.NoisePoint createNoisePoint(float float2, float float3, float float4)
      Mappings:
      Namespace Name Mixin selector
      official a Lcce;a(FFF)Lcce$c;
      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;
    • method_41191

      public static VanillaTerrainParameters.class_7075 method_41191(DensityFunction.NoisePos noisePos)
      Mappings:
      Namespace Name Mixin selector
      official a Lcce;a(Lctp$b;)Lcce$d;
      intermediary method_41191 Lnet/minecraft/class_6555;method_41191(Lnet/minecraft/class_6910$class_6912;)Lnet/minecraft/class_6555$class_7075;
      named method_41191 Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters;method_41191(Lnet/minecraft/world/gen/densityfunction/DensityFunction$NoisePos;)Lnet/minecraft/world/biome/source/util/VanillaTerrainParameters$class_7075;
    • getNormalizedWeirdness

      public static float getNormalizedWeirdness(float weirdness)
      Mappings:
      Namespace Name Mixin selector
      official a Lcce;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
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.