Record Class BiomeSource.MultiNoiseEntry
java.lang.Object
java.lang.Record
dev.wyck.wrapper.level.BiomeSource.MultiNoiseEntry
- Enclosing interface:
BiomeSource
@AsOf("2.4.0")
public static record BiomeSource.MultiNoiseEntry(ResourceKey biome, ClimatePoint climatePoint)
extends Record
- Since:
- 2.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionMultiNoiseEntry(ResourceKey biome, ClimatePoint climatePoint) Creates an instance of aMultiNoiseEntryrecord 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
-
MultiNoiseEntry
Creates an instance of aMultiNoiseEntryrecord 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
Returns the value of thebiomerecord component.- Returns:
- the value of the
biomerecord component
-
climatePoint
Returns the value of theclimatePointrecord component.- Returns:
- the value of the
climatePointrecord component
-