Record Class ModelRotation.class_12352
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.ModelRotation.class_12352
- Record Components:
x-y-z-
- All Implemented Interfaces:
ModelRotation.class_12353
- Enclosing class:
ModelRotation
@Environment(CLIENT)
public static record ModelRotation.class_12352(float x, float y, float z)
extends Record
implements ModelRotation.class_12353
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/ModelRotation$class_12352intermediary net/minecraft/class_789$class_12352official hmf$anamed xintermediary comp_5247official anamed yintermediary comp_5248official bnamed zintermediary comp_5249official c
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionclass_12352(float x, float y, float z) Creates an instance of aclass_12352record class. -
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.final StringtoString()Returns a string representation of this record class.floatx()Returns the value of thexrecord component.floaty()Returns the value of theyrecord component.floatz()Returns the value of thezrecord component.
-
Field Details
-
Constructor Details
-
Method Details
-
method_76652
- Specified by:
method_76652in interfaceModelRotation.class_12353- Mappings:
Namespace Name Mixin selector named method_76652Lnet/minecraft/client/render/model/json/ModelRotation$class_12353;method_76652()Lorg/joml/Matrix4f;intermediary method_76652Lnet/minecraft/class_789$class_12353;method_76652()Lorg/joml/Matrix4f;official aLhmf$b;a()Lorg/joml/Matrix4f;
-
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
-