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$Quadintermediary net/minecraft/class_630$class_593official gkr$bnamed verticesintermediary comp_3184official anamed directionintermediary comp_3185official b
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionQuad(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 Summary
Modifier 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
-
Quad
public 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;)Vintermediary <init>Lnet/minecraft/class_630$class_593;<init>([Lnet/minecraft/class_630$class_618;FFFFFFZLnet/minecraft/class_2350;)Vofficial <init>Lgkr$b;<init>([Lgkr$c;FFFFFFZLjc;)V
-
Quad
-
-
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 withObjects::equals(Object,Object). -
vertices
Returns the value of theverticesrecord component.- Returns:
- the value of the
verticesrecord component
-
direction
Returns the value of thedirectionrecord component.- Returns:
- the value of the
directionrecord component
-