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 gvi$a
named yOffset
intermediary comp_3057
official b
named skullYOffset
intermediary comp_3058
official c
named horizontalScale
intermediary comp_3059
official d
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HeadFeatureRenderer.HeadTransformation
private final float
The field for thehorizontalScale
record component.private final float
The field for theskullYOffset
record component.private final float
The field for theyOffset
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.float
Returns the value of thehorizontalScale
record component.float
Returns the value of theskullYOffset
record component.final String
toString()
Returns a string representation of this record class.float
yOffset()
Returns the value of theyOffset
record component.
-
Field Details
-
yOffset
private final float yOffsetThe field for theyOffset
record component. -
skullYOffset
private final float skullYOffsetThe field for theskullYOffset
record component. -
horizontalScale
private final float horizontalScaleThe field for thehorizontalScale
record 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
Lgvi$a;a:Lgvi$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 theyOffset
record component.- Returns:
- the value of the
yOffset
record component
-
skullYOffset
public float skullYOffset()Returns the value of theskullYOffset
record component.- Returns:
- the value of the
skullYOffset
record component
-
horizontalScale
public float horizontalScale()Returns the value of thehorizontalScale
record component.- Returns:
- the value of the
horizontalScale
record component
-