Package net.minecraft.world.gen.chunk
Record Class Blender.BlendResult
java.lang.Object
java.lang.Record
net.minecraft.world.gen.chunk.Blender.BlendResult
- Record Components:
alpha-blendingOffset-
- Enclosing class:
Blender
- Mappings:
Namespace Name official dij$aintermediary net/minecraft/class_6748$class_6956named net/minecraft/world/gen/chunk/Blender$BlendResultofficial aintermediary comp_435named alphaofficial bintermediary comp_436named blendingOffset
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleThe field for thealpharecord component.private final doubleThe field for theblendingOffsetrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublealpha()Returns the value of thealpharecord component.doubleReturns the value of theblendingOffsetrecord 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.
-
Field Details
-
alpha
private final double alphaThe field for thealpharecord component. -
blendingOffset
private final double blendingOffsetThe field for theblendingOffsetrecord component.
-
-
Constructor Details
-
BlendResult
public BlendResult(double double2, double double3)
-
-
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 with '=='. -
alpha
public double alpha()Returns the value of thealpharecord component.- Returns:
- the value of the
alpharecord component
-
blendingOffset
public double blendingOffset()Returns the value of theblendingOffsetrecord component.- Returns:
- the value of the
blendingOffsetrecord component
-