Record Class BabyModelTransformer

java.lang.Object
java.lang.Record
net.minecraft.client.render.entity.model.BabyModelTransformer
Record Components:
scaleHead -
babyYHeadOffset -
babyZHeadOffset -
babyHeadScale -
babyBodyScale -
bodyYOffset -
headParts -
All Implemented Interfaces:
ModelTransformer

@Environment(CLIENT) public record BabyModelTransformer(boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, float babyHeadScale, float babyBodyScale, float bodyYOffset, Set<String> headParts) extends Record implements ModelTransformer
Mappings:
Namespace Name
named net/minecraft/client/render/entity/model/BabyModelTransformer
intermediary net/minecraft/class_9941
official gam
named scaleHead
intermediary comp_2988
official a
named babyYHeadOffset
intermediary comp_2989
official b
named babyZHeadOffset
intermediary comp_2990
official c
named babyHeadScale
intermediary comp_2991
official d
named babyBodyScale
intermediary comp_2992
official e
named bodyYOffset
intermediary comp_2993
official f
named headParts
intermediary comp_2994
official g
  • Field Details Link icon

    • scaleHead Link icon

      private final boolean scaleHead
      The field for the scaleHead record component.
    • babyYHeadOffset Link icon

      private final float babyYHeadOffset
      The field for the babyYHeadOffset record component.
    • babyZHeadOffset Link icon

      private final float babyZHeadOffset
      The field for the babyZHeadOffset record component.
    • babyHeadScale Link icon

      private final float babyHeadScale
      The field for the babyHeadScale record component.
    • babyBodyScale Link icon

      private final float babyBodyScale
      The field for the babyBodyScale record component.
    • bodyYOffset Link icon

      private final float bodyYOffset
      The field for the bodyYOffset record component.
    • headParts Link icon

      private final Set<String> headParts
      The field for the headParts record component.
  • Constructor Details Link icon

    • BabyModelTransformer Link icon

      public BabyModelTransformer(Set<String> headParts)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/BabyModelTransformer;<init>(Ljava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_9941;<init>(Ljava/util/Set;)V
      official <init> Lgam;<init>(Ljava/util/Set;)V
    • BabyModelTransformer Link icon

      public BabyModelTransformer(boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, Set<String> headParts)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/model/BabyModelTransformer;<init>(ZFFLjava/util/Set;)V
      intermediary <init> Lnet/minecraft/class_9941;<init>(ZFFLjava/util/Set;)V
      official <init> Lgam;<init>(ZFFLjava/util/Set;)V
    • BabyModelTransformer Link icon

      public BabyModelTransformer(boolean bool, float float2, float float3, float float4, float float5, float float6, Set<String> set)
  • Method Details Link icon

    • apply Link icon

      public ModelData apply(ModelData modelData)
      Specified by:
      apply in interface ModelTransformer
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/client/render/entity/model/ModelTransformer;apply(Lnet/minecraft/client/model/ModelData;)Lnet/minecraft/client/model/ModelData;
      intermediary apply Lnet/minecraft/class_9953;apply(Lnet/minecraft/class_5609;)Lnet/minecraft/class_5609;
      official apply Lgew;apply(Lgev;)Lgev;
    • toString Link icon

      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 Link icon

      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 Link icon

      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. Reference components are compared with Objects::equals(Object,Object); primitive components 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.
    • scaleHead Link icon

      public boolean scaleHead()
      Returns the value of the scaleHead record component.
      Returns:
      the value of the scaleHead record component
    • babyYHeadOffset Link icon

      public float babyYHeadOffset()
      Returns the value of the babyYHeadOffset record component.
      Returns:
      the value of the babyYHeadOffset record component
    • babyZHeadOffset Link icon

      public float babyZHeadOffset()
      Returns the value of the babyZHeadOffset record component.
      Returns:
      the value of the babyZHeadOffset record component
    • babyHeadScale Link icon

      public float babyHeadScale()
      Returns the value of the babyHeadScale record component.
      Returns:
      the value of the babyHeadScale record component
    • babyBodyScale Link icon

      public float babyBodyScale()
      Returns the value of the babyBodyScale record component.
      Returns:
      the value of the babyBodyScale record component
    • bodyYOffset Link icon

      public float bodyYOffset()
      Returns the value of the bodyYOffset record component.
      Returns:
      the value of the bodyYOffset record component
    • headParts Link icon

      public Set<String> headParts()
      Returns the value of the headParts record component.
      Returns:
      the value of the headParts record component