Record Class VanillaTerrainParameters.NoisePoint
java.lang.Object
java.lang.Record
net.minecraft.world.biome.source.util.VanillaTerrainParameters.NoisePoint
- Record Components:
continentalnessNoise-erosionNoise-normalizedWeirdness-weirdnessNoise-
- Enclosing class:
VanillaTerrainParameters
public static record VanillaTerrainParameters.NoisePoint(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise)
extends Record
- Mappings:
Namespace Name official cce$cintermediary net/minecraft/class_6555$class_6556named net/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePointofficial aintermediary comp_235named continentalnessNoiseofficial bintermediary comp_236named erosionNoiseofficial cintermediary comp_237named normalizedWeirdnessofficial dintermediary comp_238named weirdnessNoise
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatThe field for thecontinentalnessNoiserecord component.private final floatThe field for theerosionNoiserecord component.private final floatThe field for thenormalizedWeirdnessrecord component.private final floatThe field for theweirdnessNoiserecord component. -
Constructor Summary
ConstructorsConstructorDescriptionNoisePoint(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise) Creates an instance of aNoisePointrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfloatReturns the value of thecontinentalnessNoiserecord component.final booleanIndicates whether some other object is "equal to" this one.floatReturns the value of theerosionNoiserecord component.final inthashCode()Returns a hash code value for this object.floatReturns the value of thenormalizedWeirdnessrecord component.final StringtoString()Returns a string representation of this record class.floatReturns the value of theweirdnessNoiserecord component.
-
Field Details
-
continentalnessNoise
private final float continentalnessNoiseThe field for thecontinentalnessNoiserecord component. -
erosionNoise
private final float erosionNoiseThe field for theerosionNoiserecord component. -
normalizedWeirdness
private final float normalizedWeirdnessThe field for thenormalizedWeirdnessrecord component. -
weirdnessNoise
private final float weirdnessNoiseThe field for theweirdnessNoiserecord component.
-
-
Constructor Details
-
NoisePoint
public NoisePoint(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise) Creates an instance of aNoisePointrecord class.- Parameters:
continentalnessNoise- the value for thecontinentalnessNoiserecord componenterosionNoise- the value for theerosionNoiserecord componentnormalizedWeirdness- the value for thenormalizedWeirdnessrecord componentweirdnessNoise- the value for theweirdnessNoiserecord component
-
-
Method Details
-
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. -
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. -
equals
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 '=='. -
continentalnessNoise
public float continentalnessNoise()Returns the value of thecontinentalnessNoiserecord component.- Returns:
- the value of the
continentalnessNoiserecord component
-
erosionNoise
public float erosionNoise()Returns the value of theerosionNoiserecord component.- Returns:
- the value of the
erosionNoiserecord component
-
normalizedWeirdness
public float normalizedWeirdness()Returns the value of thenormalizedWeirdnessrecord component.- Returns:
- the value of the
normalizedWeirdnessrecord component
-
weirdnessNoise
public float weirdnessNoise()Returns the value of theweirdnessNoiserecord component.- Returns:
- the value of the
weirdnessNoiserecord component
-