Package net.minecraft.world.level.biome
Record Class Climate.ParameterPoint
java.lang.Object
java.lang.Record
net.minecraft.world.level.biome.Climate.ParameterPoint
- Enclosing class:
- Climate
public static record Climate.ParameterPoint(Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, Climate.Parameter weirdness, long offset)
extends Record
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Climate.ParameterPoint>private final Climate.ParameterThe field for thecontinentalnessrecord component.private final Climate.ParameterThe field for thedepthrecord component.private final Climate.ParameterThe field for theerosionrecord component.private final Climate.ParameterThe field for thehumidityrecord component.private final longThe field for theoffsetrecord component.private final Climate.ParameterThe field for thetemperaturerecord component.private final Climate.ParameterThe field for theweirdnessrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionParameterPoint(Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, Climate.Parameter weirdness, long offset) Creates an instance of aParameterPointrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thecontinentalnessrecord component.depth()Returns the value of thedepthrecord component.final booleanIndicates whether some other object is "equal to" this one.erosion()Returns the value of theerosionrecord component.(package private) longfitness(Climate.TargetPoint p_186883_) final inthashCode()Returns a hash code value for this object.humidity()Returns the value of thehumidityrecord component.longoffset()Returns the value of theoffsetrecord component.protected List<Climate.Parameter>Returns the value of thetemperaturerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theweirdnessrecord component.
- 
Field Details- 
temperatureThe field for thetemperaturerecord component.
- 
humidityThe field for thehumidityrecord component.
- 
continentalnessThe field for thecontinentalnessrecord component.
- 
erosionThe field for theerosionrecord component.
- 
depthThe field for thedepthrecord component.
- 
weirdnessThe field for theweirdnessrecord component.
- 
offsetprivate final long offsetThe field for theoffsetrecord component.
- 
CODEC
 
- 
- 
Constructor Details- 
ParameterPointpublic ParameterPoint(Climate.Parameter temperature, Climate.Parameter humidity, Climate.Parameter continentalness, Climate.Parameter erosion, Climate.Parameter depth, Climate.Parameter weirdness, long offset) Creates an instance of aParameterPointrecord class.- Parameters:
- temperature- the value for the- temperaturerecord component
- humidity- the value for the- humidityrecord component
- continentalness- the value for the- continentalnessrecord component
- erosion- the value for the- erosionrecord component
- depth- the value for the- depthrecord component
- weirdness- the value for the- weirdnessrecord component
- offset- the value for the- offsetrecord component
 
 
- 
- 
Method Details- 
fitness
- 
parameterSpace
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
temperatureReturns the value of thetemperaturerecord component.- Returns:
- the value of the temperaturerecord component
 
- 
humidityReturns the value of thehumidityrecord component.- Returns:
- the value of the humidityrecord component
 
- 
continentalnessReturns the value of thecontinentalnessrecord component.- Returns:
- the value of the continentalnessrecord component
 
- 
erosionReturns the value of theerosionrecord component.- Returns:
- the value of the erosionrecord component
 
- 
depthReturns the value of thedepthrecord component.- Returns:
- the value of the depthrecord component
 
- 
weirdnessReturns the value of theweirdnessrecord component.- Returns:
- the value of the weirdnessrecord component
 
- 
offsetpublic long offset()Returns the value of theoffsetrecord component.- Returns:
- the value of the offsetrecord component
 
 
-