Package net.minecraft
Record Class class_12160.class_12165
java.lang.Object
java.lang.Record
net.minecraft.class_12160.class_12165
- Record Components:
points-color-
- Enclosing class:
class_12160
@Environment(CLIENT)
private static record class_12160.class_12165(Vec3d[] points, int color)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_12160$class_12165intermediary net/minecraft/class_12160$class_12165official iat$enamed pointsintermediary comp_5085official anamed colorintermediary comp_5086official b
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcolor()Returns the value of thecolorrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Vec3d[]points()Returns the value of thepointsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_12165
class_12165(Vec3d[] vec3d, int int2)
-
-
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 '=='. -
points
Returns the value of thepointsrecord component.- Returns:
- the value of the
pointsrecord component
-
color
public int color()Returns the value of thecolorrecord component.- Returns:
- the value of the
colorrecord component
-