Package net.minecraft.client.renderer
Record Class FaceInfo.VertexInfo
java.lang.Object
java.lang.Record
net.minecraft.client.renderer.FaceInfo.VertexInfo
- Enclosing class:
FaceInfo
public static record FaceInfo.VertexInfo(FaceInfo.Extent xFace, FaceInfo.Extent yFace, FaceInfo.Extent zFace)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final FaceInfo.ExtentThe field for thexFacerecord component.private final FaceInfo.ExtentThe field for theyFacerecord component.private final FaceInfo.ExtentThe field for thezFacerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionVertexInfo(FaceInfo.Extent xFace, FaceInfo.Extent yFace, FaceInfo.Extent zFace) Creates an instance of aVertexInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal 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.xFace()Returns the value of thexFacerecord component.yFace()Returns the value of theyFacerecord component.zFace()Returns the value of thezFacerecord component.
-
Field Details
-
xFace
The field for thexFacerecord component. -
yFace
The field for theyFacerecord component. -
zFace
The field for thezFacerecord component.
-
-
Constructor Details
-
VertexInfo
Creates an instance of aVertexInforecord class.- Parameters:
xFace- the value for thexFacerecord componentyFace- the value for theyFacerecord componentzFace- the value for thezFacerecord component
-
-
Method Details
-
select
-
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). -
xFace
Returns the value of thexFacerecord component.- Returns:
- the value of the
xFacerecord component
-
yFace
Returns the value of theyFacerecord component.- Returns:
- the value of the
yFacerecord component
-
zFace
Returns the value of thezFacerecord component.- Returns:
- the value of the
zFacerecord component
-