Package net.minecraft.client.model
Record Class ModelPart.Vertex
java.lang.Object
java.lang.Record
net.minecraft.client.model.ModelPart.Vertex
- Record Components:
x-y-z-u-v-
- Enclosing class:
ModelPart
@Environment(CLIENT)
public static record ModelPart.Vertex(float x, float y, float z, float u, float v)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/model/ModelPart$Vertexintermediary net/minecraft/class_630$class_618official gyo$cnamed xintermediary comp_4804official bnamed yintermediary comp_4805official cnamed zintermediary comp_4806official dnamed uintermediary comp_3187official enamed vintermediary comp_3188official f
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatprivate final floatThe field for theurecord component.private final floatThe field for thevrecord component.private final floatThe field for thexrecord component.private final floatThe field for theyrecord component.private final floatThe field for thezrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionVertex(float float2, float float3, float float4, float float5, float float6) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.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.floatworldX()floatworldY()floatworldZ()floatx()Returns the value of thexrecord component.floaty()Returns the value of theyrecord component.floatz()Returns the value of thezrecord component.
-
Field Details
-
x
private final float xThe field for thexrecord component. -
y
private final float yThe field for theyrecord component. -
z
private final float zThe field for thezrecord component. -
u
private final float uThe field for theurecord component. -
v
private final float vThe field for thevrecord component. -
SCALE_FACTOR
public static final float SCALE_FACTOR- See Also:
- Mappings:
Namespace Name Mixin selector named SCALE_FACTORLnet/minecraft/client/model/ModelPart$Vertex;SCALE_FACTOR:Fintermediary field_62594Lnet/minecraft/class_630$class_618;field_62594:Fofficial aLgyo$c;a:F
-
-
Constructor Details
-
Vertex
public Vertex(float float2, float float3, float float4, float float5, float float6)
-
-
Method Details
-
remap
- Mappings:
Namespace Name Mixin selector named remapLnet/minecraft/client/model/ModelPart$Vertex;remap(FF)Lnet/minecraft/client/model/ModelPart$Vertex;intermediary method_2837Lnet/minecraft/class_630$class_618;method_2837(FF)Lnet/minecraft/class_630$class_618;official aLgyo$c;a(FF)Lgyo$c;
-
worldX
public float worldX()- Mappings:
Namespace Name Mixin selector named worldXLnet/minecraft/client/model/ModelPart$Vertex;worldX()Fintermediary method_74250Lnet/minecraft/class_630$class_618;method_74250()Fofficial aLgyo$c;a()F
-
worldY
public float worldY()- Mappings:
Namespace Name Mixin selector named worldYLnet/minecraft/client/model/ModelPart$Vertex;worldY()Fintermediary method_74251Lnet/minecraft/class_630$class_618;method_74251()Fofficial bLgyo$c;b()F
-
worldZ
public float worldZ()- Mappings:
Namespace Name Mixin selector named worldZLnet/minecraft/client/model/ModelPart$Vertex;worldZ()Fintermediary method_74252Lnet/minecraft/class_630$class_618;method_74252()Fofficial cLgyo$c;c()F
-
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 with '=='. -
x
public float x()Returns the value of thexrecord component.- Returns:
- the value of the
xrecord component
-
y
public float y()Returns the value of theyrecord component.- Returns:
- the value of the
yrecord component
-
z
public float z()Returns the value of thezrecord component.- Returns:
- the value of the
zrecord component
-
u
public float u()Returns the value of theurecord component.- Returns:
- the value of the
urecord component
-
v
public float v()Returns the value of thevrecord component.- Returns:
- the value of the
vrecord component
-