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$HeadTransformation- intermediary - net/minecraft/class_976$class_9994- official - gvy$a- named - yOffset- intermediary - comp_3057- official - b- named - skullYOffset- intermediary - comp_3058- official - c- named - horizontalScale- intermediary - comp_3059- official - d
- 
Field SummaryFieldsModifier 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 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.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- 
yOffsetprivate final float yOffsetThe field for theyOffsetrecord component.
- 
skullYOffsetprivate final float skullYOffsetThe field for theskullYOffsetrecord component.
- 
horizontalScaleprivate final float horizontalScaleThe field for thehorizontalScalerecord component.
- 
DEFAULT- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT- Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;DEFAULT:Lnet/minecraft/client/render/entity/feature/HeadFeatureRenderer$HeadTransformation;- intermediary - field_53212- Lnet/minecraft/class_976$class_9994;field_53212:Lnet/minecraft/class_976$class_9994;- official - a- Lgvy$a;a:Lgvy$a;
 
 
- 
- 
Constructor Details- 
HeadTransformationpublic HeadTransformation(float float2, float float3, float float4) 
 
- 
- 
Method Details- 
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. All components in this record class are compared with '=='.
- 
yOffsetpublic float yOffset()Returns the value of theyOffsetrecord component.- Returns:
- the value of the yOffsetrecord component
 
- 
skullYOffsetpublic float skullYOffset()Returns the value of theskullYOffsetrecord component.- Returns:
- the value of the skullYOffsetrecord component
 
- 
horizontalScalepublic float horizontalScale()Returns the value of thehorizontalScalerecord component.- Returns:
- the value of the horizontalScalerecord component
 
 
-