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 named net/minecraft/world/gen/chunk/Blender$BlendResult
intermediary net/minecraft/class_6748$class_6956
official eer$a
named alpha
intermediary comp_435
official a
named blendingOffset
intermediary comp_436
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate final double
The field for thealpha
record component.private final double
The field for theblendingOffset
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
alpha()
Returns the value of thealpha
record component.double
Returns the value of theblendingOffset
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
-
alpha
private final double alphaThe field for thealpha
record component. -
blendingOffset
private final double blendingOffsetThe field for theblendingOffset
record 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 thealpha
record component.- Returns:
- the value of the
alpha
record component
-
blendingOffset
public double blendingOffset()Returns the value of theblendingOffset
record component.- Returns:
- the value of the
blendingOffset
record component
-