Record Class ModelTransformation
java.lang.Object
java.lang.Record
net.minecraft.client.render.model.json.ModelTransformation
- Record Components:
thirdPersonLeftHand-thirdPersonRightHand-firstPersonLeftHand-firstPersonRightHand-head-gui-ground-fixed-fixedFromBottom-
@Environment(CLIENT)
public record ModelTransformation(Transformation thirdPersonLeftHand, Transformation thirdPersonRightHand, Transformation firstPersonLeftHand, Transformation firstPersonRightHand, Transformation head, Transformation gui, Transformation ground, Transformation fixed, Transformation fixedFromBottom)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/model/json/ModelTransformationintermediary net/minecraft/class_809official hhvnamed thirdPersonLeftHandintermediary comp_3368official bnamed thirdPersonRightHandintermediary comp_3369official cnamed firstPersonLeftHandintermediary comp_3370official dnamed firstPersonRightHandintermediary comp_3371official enamed headintermediary comp_3372official fnamed guiintermediary comp_3373official gnamed groundintermediary comp_3374official hnamed fixedintermediary comp_3375official inamed fixedFromBottomintermediary comp_4619official j
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TransformationThe field for thefirstPersonLeftHandrecord component.private final TransformationThe field for thefirstPersonRightHandrecord component.private final TransformationThe field for thefixedrecord component.private final TransformationThe field for thefixedFromBottomrecord component.private final TransformationThe field for thegroundrecord component.private final TransformationThe field for theguirecord component.private final TransformationThe field for theheadrecord component.static final ModelTransformationprivate final TransformationThe field for thethirdPersonLeftHandrecord component.private final TransformationThe field for thethirdPersonRightHandrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionModelTransformation(Transformation thirdPersonLeftHand, Transformation thirdPersonRightHand, Transformation firstPersonLeftHand, Transformation firstPersonRightHand, Transformation head, Transformation gui, Transformation ground, Transformation fixed, Transformation transformation) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstPersonLeftHandrecord component.Returns the value of thefirstPersonRightHandrecord component.fixed()Returns the value of thefixedrecord component.Returns the value of thefixedFromBottomrecord component.getTransformation(ItemDisplayContext renderMode) ground()Returns the value of thegroundrecord component.gui()Returns the value of theguirecord component.final inthashCode()Returns a hash code value for this object.head()Returns the value of theheadrecord component.Returns the value of thethirdPersonLeftHandrecord component.Returns the value of thethirdPersonRightHandrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
thirdPersonLeftHand
The field for thethirdPersonLeftHandrecord component. -
thirdPersonRightHand
The field for thethirdPersonRightHandrecord component. -
firstPersonLeftHand
The field for thefirstPersonLeftHandrecord component. -
firstPersonRightHand
The field for thefirstPersonRightHandrecord component. -
head
The field for theheadrecord component. -
gui
The field for theguirecord component. -
ground
The field for thegroundrecord component. -
fixed
The field for thefixedrecord component. -
fixedFromBottom
The field for thefixedFromBottomrecord component. -
NONE
- Mappings:
Namespace Name Mixin selector named NONELnet/minecraft/client/render/model/json/ModelTransformation;NONE:Lnet/minecraft/client/render/model/json/ModelTransformation;intermediary field_4301Lnet/minecraft/class_809;field_4301:Lnet/minecraft/class_809;official aLhhv;a:Lhhv;
-
-
Constructor Details
-
ModelTransformation
public ModelTransformation(Transformation thirdPersonLeftHand, Transformation thirdPersonRightHand, Transformation firstPersonLeftHand, Transformation firstPersonRightHand, Transformation head, Transformation gui, Transformation ground, Transformation fixed, Transformation transformation) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/model/json/ModelTransformation;<init>(Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;Lnet/minecraft/client/render/model/json/Transformation;)Vintermediary <init>Lnet/minecraft/class_809;<init>(Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;Lnet/minecraft/class_804;)Vofficial <init>Lhhv;<init>(Lhhu;Lhhu;Lhhu;Lhhu;Lhhu;Lhhu;Lhhu;Lhhu;Lhhu;)V
-
-
Method Details
-
getTransformation
- Mappings:
Namespace Name Mixin selector named getTransformationLnet/minecraft/client/render/model/json/ModelTransformation;getTransformation(Lnet/minecraft/item/ItemDisplayContext;)Lnet/minecraft/client/render/model/json/Transformation;intermediary method_3503Lnet/minecraft/class_809;method_3503(Lnet/minecraft/class_811;)Lnet/minecraft/class_804;official aLhhv;a(Ldhn;)Lhhu;
-
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). -
thirdPersonLeftHand
Returns the value of thethirdPersonLeftHandrecord component.- Returns:
- the value of the
thirdPersonLeftHandrecord component
-
thirdPersonRightHand
Returns the value of thethirdPersonRightHandrecord component.- Returns:
- the value of the
thirdPersonRightHandrecord component
-
firstPersonLeftHand
Returns the value of thefirstPersonLeftHandrecord component.- Returns:
- the value of the
firstPersonLeftHandrecord component
-
firstPersonRightHand
Returns the value of thefirstPersonRightHandrecord component.- Returns:
- the value of the
firstPersonRightHandrecord component
-
head
Returns the value of theheadrecord component.- Returns:
- the value of the
headrecord component
-
gui
Returns the value of theguirecord component.- Returns:
- the value of the
guirecord component
-
ground
Returns the value of thegroundrecord component.- Returns:
- the value of the
groundrecord component
-
fixed
Returns the value of thefixedrecord component.- Returns:
- the value of the
fixedrecord component
-
fixedFromBottom
Returns the value of thefixedFromBottomrecord component.- Returns:
- the value of the
fixedFromBottomrecord component
-