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 Summary
Modifier and TypeFieldDescriptionprivate final float
The field for thebabyBodyScale
record component.private final float
The field for thebabyHeadScale
record component.private final float
The field for thebabyYHeadOffset
record component.private final float
The field for thebabyZHeadOffset
record component.private final float
The field for thebodyYOffset
record component.The field for theheadParts
record component.private final boolean
The field for thescaleHead
record component. -
Constructor Summary
ConstructorDescriptionBabyModelTransformer
(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 Summary
Modifier and TypeMethodDescriptionfloat
Returns the value of thebabyBodyScale
record component.float
Returns the value of thebabyHeadScale
record component.float
Returns the value of thebabyYHeadOffset
record component.float
Returns the value of thebabyZHeadOffset
record component.float
Returns the value of thebodyYOffset
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of theheadParts
record component.boolean
Returns the value of thescaleHead
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
scaleHead
private final boolean scaleHeadThe field for thescaleHead
record component. -
babyYHeadOffset
private final float babyYHeadOffsetThe field for thebabyYHeadOffset
record component. -
babyZHeadOffset
private final float babyZHeadOffsetThe field for thebabyZHeadOffset
record component. -
babyHeadScale
private final float babyHeadScaleThe field for thebabyHeadScale
record component. -
babyBodyScale
private final float babyBodyScaleThe field for thebabyBodyScale
record component. -
bodyYOffset
private final float bodyYOffsetThe field for thebodyYOffset
record component. -
headParts
The field for theheadParts
record 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>
Lgam;<init>(Ljava/util/Set;)V
-
BabyModelTransformer
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
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceModelTransformer
- 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
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. Reference components are compared withObjects::equals(Object,Object)
; primitive components are compared with '=='. -
scaleHead
public boolean scaleHead()Returns the value of thescaleHead
record component.- Returns:
- the value of the
scaleHead
record component
-
babyYHeadOffset
public float babyYHeadOffset()Returns the value of thebabyYHeadOffset
record component.- Returns:
- the value of the
babyYHeadOffset
record component
-
babyZHeadOffset
public float babyZHeadOffset()Returns the value of thebabyZHeadOffset
record component.- Returns:
- the value of the
babyZHeadOffset
record component
-
babyHeadScale
public float babyHeadScale()Returns the value of thebabyHeadScale
record component.- Returns:
- the value of the
babyHeadScale
record component
-
babyBodyScale
public float babyBodyScale()Returns the value of thebabyBodyScale
record component.- Returns:
- the value of the
babyBodyScale
record component
-
bodyYOffset
public float bodyYOffset()Returns the value of thebodyYOffset
record component.- Returns:
- the value of the
bodyYOffset
record component
-
headParts
Returns the value of theheadParts
record component.- Returns:
- the value of the
headParts
record component
-