Record Class MultiNoiseBiomeSource.Entry
java.lang.Object
java.lang.Record
dev.wyck.worldgen.biome.MultiNoiseBiomeSource.Entry
- Record Components:
biome- the biomeclimatePoint- the climate point
- Enclosing interface:
MultiNoiseBiomeSource
@AsOf("3.0.0")
public static record MultiNoiseBiomeSource.Entry(Biome biome, ClimatePoint climatePoint)
extends Record
A biome and its climate point.
- Since:
- 3.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionEntry(Biome biome, ClimatePoint climatePoint) Creates an instance of aEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbiome()Returns the value of thebiomerecord component.Returns the value of theclimatePointrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Entry
Creates an instance of aEntryrecord class.- Parameters:
biome- the value for thebiomerecord componentclimatePoint- the value for theclimatePointrecord 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 withObjects::equals(Object,Object). -
biome
-
climatePoint
Returns the value of theclimatePointrecord component.- Returns:
- the value of the
climatePointrecord component
-