Package net.minecraft.client.model
Record Class ModelPart.Vertex
java.lang.Object
java.lang.Record
net.minecraft.client.model.ModelPart.Vertex
- Record Components:
pos
-u
-v
-
- Enclosing class:
ModelPart
@Environment(CLIENT)
public static record ModelPart.Vertex(Vector3f pos, float u, float v)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/model/ModelPart$Vertex
intermediary net/minecraft/class_630$class_618
official gen$c
named pos
intermediary comp_3186
official a
named u
intermediary comp_3187
official b
named v
intermediary comp_3188
official c
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.pos()
Returns the value of thepos
record component.remap
(float u, float v) final String
toString()
Returns a string representation of this record class.float
u()
Returns the value of theu
record component.float
v()
Returns the value of thev
record component.
-
Field Details
-
Constructor Details
-
Vertex
public Vertex(float x, float y, float z, float u, float v) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/model/ModelPart$Vertex;<init>(FFFFF)V
intermediary <init>
Lnet/minecraft/class_630$class_618;<init>(FFFFF)V
official <init>
Lgen$c;<init>(FFFFF)V
-
Vertex
Creates an instance of aVertex
record class.
-
-
Method Details
-
remap
- Mappings:
Namespace Name Mixin selector named remap
Lnet/minecraft/client/model/ModelPart$Vertex;remap(FF)Lnet/minecraft/client/model/ModelPart$Vertex;
intermediary method_2837
Lnet/minecraft/class_630$class_618;method_2837(FF)Lnet/minecraft/class_630$class_618;
official a
Lgen$c;a(FF)Lgen$c;
-
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 '=='. -
pos
Returns the value of thepos
record component.- Returns:
- the value of the
pos
record component
-
u
public float u()Returns the value of theu
record component.- Returns:
- the value of the
u
record component
-
v
public float v()Returns the value of thev
record component.- Returns:
- the value of the
v
record component
-