Record Class HeadFeatureRenderer.HeadTransformation
java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.feature.HeadFeatureRenderer.HeadTransformation
- Record Components:
yOffset-skullYOffset-horizontalScale-
- Enclosing class:
HeadFeatureRenderer<S extends LivingEntityRenderState,M extends EntityModel<S> & ModelWithHead>
@Environment(CLIENT)
public static record HeadFeatureRenderer.HeadTransformation(float yOffset, float skullYOffset, float horizontalScale)
extends Record
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformationintermediary net/minecraft/class_976$class_9994official hbo$anamed yOffsetintermediary comp_3057official bnamed skullYOffsetintermediary comp_3058official cnamed horizontalScaleintermediary comp_3059official d
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HeadFeatureRenderer.HeadTransformationprivate final floatThe field for thehorizontalScalerecord component.private final floatThe field for theskullYOffsetrecord component.private final floatThe field for theyOffsetrecord component. -
Constructor Summary
Constructors -
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.floatReturns the value of thehorizontalScalerecord component.floatReturns the value of theskullYOffsetrecord component.final StringtoString()Returns a string representation of this record class.floatyOffset()Returns the value of theyOffsetrecord component.
-
Field Details
-
yOffset
private final float yOffsetThe field for theyOffsetrecord component. -
skullYOffset
private final float skullYOffsetThe field for theskullYOffsetrecord component. -
horizontalScale
private final float horizontalScaleThe field for thehorizontalScalerecord component. -
DEFAULT
- Mappings:
Namespace Name Mixin selector named DEFAULTLnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;DEFAULT:Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;intermediary field_53212Lnet/minecraft/class_976$class_9994;field_53212:Lnet/minecraft/class_976$class_9994;official aLhbo$a;a:Lhbo$a;
-
-
Constructor Details
-
HeadTransformation
public HeadTransformation(float float2, float float3, float float4)
-
-
Method Details
-
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 '=='. -
yOffset
public float yOffset()Returns the value of theyOffsetrecord component.- Returns:
- the value of the
yOffsetrecord component
-
skullYOffset
public float skullYOffset()Returns the value of theskullYOffsetrecord component.- Returns:
- the value of the
skullYOffsetrecord component
-
horizontalScale
public float horizontalScale()Returns the value of thehorizontalScalerecord component.- Returns:
- the value of the
horizontalScalerecord component
-