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 - gbb- 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 SummaryFieldsModifier and TypeFieldDescriptionprivate final floatThe field for thebabyBodyScalerecord component.private final floatThe field for thebabyHeadScalerecord component.private final floatThe field for thebabyYHeadOffsetrecord component.private final floatThe field for thebabyZHeadOffsetrecord component.private final floatThe field for thebodyYOffsetrecord component.The field for theheadPartsrecord component.private final booleanThe field for thescaleHeadrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionBabyModelTransformer(boolean bool, float float2, float float3, float float4, float float5, float float6, Set<String> set) BabyModelTransformer(boolean scaleHead, float babyYHeadOffset, float babyZHeadOffset, Set<String> headParts) BabyModelTransformer(Set<String> headParts) 
- 
Method SummaryModifier and TypeMethodDescriptionfloatReturns the value of thebabyBodyScalerecord component.floatReturns the value of thebabyHeadScalerecord component.floatReturns the value of thebabyYHeadOffsetrecord component.floatReturns the value of thebabyZHeadOffsetrecord component.floatReturns the value of thebodyYOffsetrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theheadPartsrecord component.booleanReturns the value of thescaleHeadrecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
scaleHeadprivate final boolean scaleHeadThe field for thescaleHeadrecord component.
- 
babyYHeadOffsetprivate final float babyYHeadOffsetThe field for thebabyYHeadOffsetrecord component.
- 
babyZHeadOffsetprivate final float babyZHeadOffsetThe field for thebabyZHeadOffsetrecord component.
- 
babyHeadScaleprivate final float babyHeadScaleThe field for thebabyHeadScalerecord component.
- 
babyBodyScaleprivate final float babyBodyScaleThe field for thebabyBodyScalerecord component.
- 
bodyYOffsetprivate final float bodyYOffsetThe field for thebodyYOffsetrecord component.
- 
headPartsThe field for theheadPartsrecord component.
 
- 
- 
Constructor Details- 
BabyModelTransformer- 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>- Lgbb;<init>(Ljava/util/Set;)V
 
- 
BabyModelTransformerpublic 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>- Lgbb;<init>(ZFFLjava/util/Set;)V
 
- 
BabyModelTransformer
 
- 
- 
Method Details- 
apply- Specified by:
- applyin 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- Lgfn;apply(Lgfm;)Lgfm;
 
- 
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
scaleHeadpublic boolean scaleHead()Returns the value of thescaleHeadrecord component.- Returns:
- the value of the scaleHeadrecord component
 
- 
babyYHeadOffsetpublic float babyYHeadOffset()Returns the value of thebabyYHeadOffsetrecord component.- Returns:
- the value of the babyYHeadOffsetrecord component
 
- 
babyZHeadOffsetpublic float babyZHeadOffset()Returns the value of thebabyZHeadOffsetrecord component.- Returns:
- the value of the babyZHeadOffsetrecord component
 
- 
babyHeadScalepublic float babyHeadScale()Returns the value of thebabyHeadScalerecord component.- Returns:
- the value of the babyHeadScalerecord component
 
- 
babyBodyScalepublic float babyBodyScale()Returns the value of thebabyBodyScalerecord component.- Returns:
- the value of the babyBodyScalerecord component
 
- 
bodyYOffsetpublic float bodyYOffset()Returns the value of thebodyYOffsetrecord component.- Returns:
- the value of the bodyYOffsetrecord component
 
- 
headPartsReturns the value of theheadPartsrecord component.- Returns:
- the value of the headPartsrecord component
 
 
-