Package net.minecraft.world.gen
Record Class NoiseColumnSampler.class_6747
java.lang.Object
java.lang.Record
net.minecraft.world.gen.NoiseColumnSampler.class_6747
- Record Components:
shiftedX-shiftedZ-continentalness-weirdness-erosion-terrainInfo-
- Enclosing class:
- NoiseColumnSampler
public static record NoiseColumnSampler.class_6747(double shiftedX, double shiftedZ, double continentalness, double weirdness, double erosion, TerrainNoisePoint terrainInfo)
extends Record
- Mappings:
Namespace Name official cti$aintermediary net/minecraft/class_5818$class_6747named net/minecraft/world/gen/NoiseColumnSampler$class_6747official aintermediary comp_241named shiftedXofficial bintermediary comp_242named shiftedZofficial cintermediary comp_243named continentalnessofficial dintermediary comp_244named weirdnessofficial eintermediary comp_245named erosionofficial fintermediary comp_246named terrainInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleThe field for thecontinentalnessrecord component.private final doubleThe field for theerosionrecord component.private final doubleThe field for theshiftedXrecord component.private final doubleThe field for theshiftedZrecord component.private final TerrainNoisePointThe field for theterrainInforecord component.private final doubleThe field for theweirdnessrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_6747(double double2, double double3, double double4, double double5, double double6, TerrainNoisePoint terrainNoisePoint) -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of thecontinentalnessrecord component.final booleanIndicates whether some other object is "equal to" this one.doubleerosion()Returns the value of theerosionrecord component.final inthashCode()Returns a hash code value for this object.doubleshiftedX()Returns the value of theshiftedXrecord component.doubleshiftedZ()Returns the value of theshiftedZrecord component.Returns the value of theterrainInforecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of theweirdnessrecord component.
-
Field Details
-
shiftedX
private final double shiftedXThe field for theshiftedXrecord component. -
shiftedZ
private final double shiftedZThe field for theshiftedZrecord component. -
continentalness
private final double continentalnessThe field for thecontinentalnessrecord component. -
weirdness
private final double weirdnessThe field for theweirdnessrecord component. -
erosion
private final double erosionThe field for theerosionrecord component. -
terrainInfo
The field for theterrainInforecord component.
-
-
Constructor Details
-
class_6747
public class_6747(double double2, double double3, double double4, double double5, double double6, TerrainNoisePoint terrainNoisePoint)
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
shiftedX
public double shiftedX()Returns the value of theshiftedXrecord component.- Returns:
- the value of the
shiftedXrecord component
-
shiftedZ
public double shiftedZ()Returns the value of theshiftedZrecord component.- Returns:
- the value of the
shiftedZrecord component
-
continentalness
public double continentalness()Returns the value of thecontinentalnessrecord component.- Returns:
- the value of the
continentalnessrecord component
-
weirdness
public double weirdness()Returns the value of theweirdnessrecord component.- Returns:
- the value of the
weirdnessrecord component
-
erosion
public double erosion()Returns the value of theerosionrecord component.- Returns:
- the value of the
erosionrecord component
-
terrainInfo
Returns the value of theterrainInforecord component.- Returns:
- the value of the
terrainInforecord component
-