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 - gfe$c- named - pos- intermediary - comp_3186- official - a- named - u- intermediary - comp_3187- official - b- named - v- intermediary - comp_3188- official - c
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.pos()Returns the value of theposrecord component.remap(float u, float v) final StringtoString()Returns a string representation of this record class.floatu()Returns the value of theurecord component.floatv()Returns the value of thevrecord component.
- 
Field Details
- 
Constructor Details- 
Vertexpublic 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>- Lgfe$c;<init>(FFFFF)V
 
- 
VertexCreates an instance of aVertexrecord 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- Lgfe$c;a(FF)Lgfe$c;
 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
posReturns the value of theposrecord component.- Returns:
- the value of the posrecord component
 
- 
upublic float u()Returns the value of theurecord component.- Returns:
- the value of the urecord component
 
- 
vpublic float v()Returns the value of thevrecord component.- Returns:
- the value of the vrecord component
 
 
-