Package net.minecraft.client.model
Record Class ModelPart.Quad
java.lang.Object
java.lang.Record
net.minecraft.client.model.ModelPart.Quad
- Record Components:
- vertices-
- direction-
- Enclosing class:
- ModelPart
@Environment(CLIENT)
public static record ModelPart.Quad(ModelPart.Vertex[] vertices, Vector3f direction)
extends Record
- Mappings:
- Namespace - Name - named - net/minecraft/client/model/ModelPart$Quad- intermediary - net/minecraft/class_630$class_593- official - gfe$b- named - vertices- intermediary - comp_3184- official - a- named - direction- intermediary - comp_3185- official - b
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionQuad(ModelPart.Vertex[] vertices, float u1, float v1, float u2, float v2, float squishU, float squishV, boolean flip, Direction direction) Quad(ModelPart.Vertex[] vertex, Vector3f vector3f) 
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of thedirectionrecord 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.vertices()Returns the value of theverticesrecord component.
- 
Field Details
- 
Constructor Details- 
Quadpublic Quad(ModelPart.Vertex[] vertices, float u1, float v1, float u2, float v2, float squishU, float squishV, boolean flip, Direction direction) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/model/ModelPart$Quad;<init>([Lnet/minecraft/client/model/ModelPart$Vertex;FFFFFFZLnet/minecraft/util/math/Direction;)V- intermediary - <init>- Lnet/minecraft/class_630$class_593;<init>([Lnet/minecraft/class_630$class_618;FFFFFFZLnet/minecraft/class_2350;)V- official - <init>- Lgfe$b;<init>([Lgfe$c;FFFFFFZLjn;)V
 
- 
Quad
 
- 
- 
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 withObjects::equals(Object,Object).
- 
verticesReturns the value of theverticesrecord component.- Returns:
- the value of the verticesrecord component
 
- 
directionReturns the value of thedirectionrecord component.- Returns:
- the value of the directionrecord component
 
 
-