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$c
intermediary net/minecraft/class_6555$class_6556
named net/minecraft/world/biome/source/util/VanillaTerrainParameters$NoisePoint
official a
intermediary comp_235
named continentalnessNoise
official b
intermediary comp_236
named erosionNoise
official c
intermediary comp_237
named normalizedWeirdness
official d
intermediary comp_238
named weirdnessNoise
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float
The field for thecontinentalnessNoise
record component.private final float
The field for theerosionNoise
record component.private final float
The field for thenormalizedWeirdness
record component.private final float
The field for theweirdnessNoise
record component. -
Constructor Summary
ConstructorDescriptionNoisePoint
(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise) Creates an instance of aNoisePoint
record class. -
Method Summary
Modifier and TypeMethodDescriptionfloat
Returns the value of thecontinentalnessNoise
record component.final boolean
Indicates whether some other object is "equal to" this one.float
Returns the value of theerosionNoise
record component.final int
hashCode()
Returns a hash code value for this object.float
Returns the value of thenormalizedWeirdness
record component.final String
toString()
Returns a string representation of this record class.float
Returns the value of theweirdnessNoise
record component.
-
Field Details
-
continentalnessNoise
private final float continentalnessNoiseThe field for thecontinentalnessNoise
record component. -
erosionNoise
private final float erosionNoiseThe field for theerosionNoise
record component. -
normalizedWeirdness
private final float normalizedWeirdnessThe field for thenormalizedWeirdness
record component. -
weirdnessNoise
private final float weirdnessNoiseThe field for theweirdnessNoise
record component.
-
-
Constructor Details
-
NoisePoint
public NoisePoint(float continentalnessNoise, float erosionNoise, float normalizedWeirdness, float weirdnessNoise) Creates an instance of aNoisePoint
record class.- Parameters:
continentalnessNoise
- the value for thecontinentalnessNoise
record componenterosionNoise
- the value for theerosionNoise
record componentnormalizedWeirdness
- the value for thenormalizedWeirdness
record componentweirdnessNoise
- the value for theweirdnessNoise
record 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 thecontinentalnessNoise
record component.- Returns:
- the value of the
continentalnessNoise
record component
-
erosionNoise
public float erosionNoise()Returns the value of theerosionNoise
record component.- Returns:
- the value of the
erosionNoise
record component
-
normalizedWeirdness
public float normalizedWeirdness()Returns the value of thenormalizedWeirdness
record component.- Returns:
- the value of the
normalizedWeirdness
record component
-
weirdnessNoise
public float weirdnessNoise()Returns the value of theweirdnessNoise
record component.- Returns:
- the value of the
weirdnessNoise
record component
-