Record Class BiomeNoise
java.lang.Object
java.lang.Record
zombie.iso.worldgen.biomes.BiomeNoise
public record BiomeNoise(double landscape, double plant, double bush, double temperature, double hygrometry, double ore)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBiomeNoise(double landscape, double plant, double bush, double temperature, double hygrometry, double ore) Creates an instance of aBiomeNoiserecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoublebush()Returns the value of thebushrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.doubleReturns the value of thehygrometryrecord component.doubleReturns the value of thelandscaperecord component.doubleore()Returns the value of theorerecord component.doubleplant()Returns the value of theplantrecord component.doubleReturns the value of thetemperaturerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BiomeNoise
public BiomeNoise(double landscape, double plant, double bush, double temperature, double hygrometry, double ore) Creates an instance of aBiomeNoiserecord class.- Parameters:
landscape- the value for thelandscaperecord componentplant- the value for theplantrecord componentbush- the value for thebushrecord componenttemperature- the value for thetemperaturerecord componenthygrometry- the value for thehygrometryrecord componentore- the value for theorerecord component
-
-
Method Details
-
toString
-
hashCode
-
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 thecomparemethod from their corresponding wrapper classes. -
landscape
public double landscape()Returns the value of thelandscaperecord component.- Returns:
- the value of the
landscaperecord component
-
plant
public double plant()Returns the value of theplantrecord component.- Returns:
- the value of the
plantrecord component
-
bush
public double bush()Returns the value of thebushrecord component.- Returns:
- the value of the
bushrecord component
-
temperature
public double temperature()Returns the value of thetemperaturerecord component.- Returns:
- the value of the
temperaturerecord component
-
hygrometry
public double hygrometry()Returns the value of thehygrometryrecord component.- Returns:
- the value of the
hygrometryrecord component
-
ore
public double ore()Returns the value of theorerecord component.- Returns:
- the value of the
orerecord component
-