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 - dim$a- intermediary - net/minecraft/class_6748$class_6956- named - net/minecraft/world/gen/chunk/Blender$BlendResult- official - a- intermediary - comp_435- named - alpha- official - b- intermediary - comp_436- named - blendingOffset
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final doubleThe field for thealpharecord component.private final doubleThe field for theblendingOffsetrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
alphaprivate final double alphaThe field for thealpharecord component.
- 
blendingOffsetprivate final double blendingOffsetThe field for theblendingOffsetrecord component.
 
- 
- 
Constructor Details- 
BlendResultpublic BlendResult(double double2, double double3) 
 
- 
- 
Method Details- 
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. All components in this record class are compared with '=='.
- 
alphapublic double alpha()Returns the value of thealpharecord component.- Returns:
- the value of the alpharecord component
 
- 
blendingOffsetpublic double blendingOffset()Returns the value of theblendingOffsetrecord component.- Returns:
- the value of the blendingOffsetrecord component
 
 
-