Record Class DensityFunctionTypes.Spline.SplinePos
java.lang.Object
java.lang.Record
net.minecraft.world.gen.densityfunction.DensityFunctionTypes.Spline.SplinePos
- Record Components:
context
-
- Enclosing class:
DensityFunctionTypes.Spline
public static record DensityFunctionTypes.Spline.SplinePos(DensityFunction.NoisePos context)
extends Record
- Mappings:
Namespace Name official dal$w$b
intermediary net/minecraft/class_6916$class_7076$class_7136
named net/minecraft/world/gen/densityfunction/DensityFunctionTypes$Spline$SplinePos
official a
intermediary comp_537
named context
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DensityFunction.NoisePos
The field for thecontext
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()
Returns the value of thecontext
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
context
The field for thecontext
record component.
-
-
Constructor Details
-
SplinePos
-
-
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. All components in this record class are compared withObjects::equals(Object,Object)
. -
context
Returns the value of thecontext
record component.- Returns:
- the value of the
context
record component
-