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 gen$b
named vertices
intermediary comp_3184
official a
named direction
intermediary comp_3185
official b
-
Field Summary
-
Constructor Summary
ConstructorDescriptionQuad
(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 thedirection
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.vertices()
Returns the value of thevertices
record 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;)V
intermediary <init>
Lnet/minecraft/class_630$class_593;<init>([Lnet/minecraft/class_630$class_618;FFFFFFZLnet/minecraft/class_2350;)V
official <init>
Lgen$b;<init>([Lgen$c;FFFFFFZLjm;)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 thevertices
record component.- Returns:
- the value of the
vertices
record component
-
direction
Returns the value of thedirection
record component.- Returns:
- the value of the
direction
record component
-