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 Details

    • yOffset

      private final float yOffset
      The field for the yOffset record component.
    • skullYOffset

      private final float skullYOffset
      The field for the skullYOffset record component.
    • horizontalScale

      private final float horizontalScale
      The field for the horizontalScale record component.
    • DEFAULT

      public static final HeadFeatureRenderer.HeadTransformation 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

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 '=='.
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • yOffset

      public float yOffset()
      Returns the value of the yOffset record component.
      Returns:
      the value of the yOffset record component
    • skullYOffset

      public float skullYOffset()
      Returns the value of the skullYOffset record component.
      Returns:
      the value of the skullYOffset record component
    • horizontalScale

      public float horizontalScale()
      Returns the value of the horizontalScale record component.
      Returns:
      the value of the horizontalScale record component