Class AxolotlEntityModel<T extends AxolotlEntity & AngledModelEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.AxolotlEntityModel<T>
@Environment(CLIENT)
public class AxolotlEntityModel<T extends AxolotlEntity & AngledModelEntity>
extends AnimalModel<T>
Represents the model of an AxolotlEntity.
Part Name | Parent | Corresponding Field |
---|---|---|
"body" | Root part | body |
"head" | "body" | head |
"top_gills" | "head" | topGills |
"left_gills" | "head" | leftGills |
"right_gills" | "head" | rightGills |
"right_hind_leg" | "body" | rightHindLeg |
"left_hind_leg" | "body" | leftHindLeg |
"right_front_leg" | "body" | rightFrontLeg |
"left_front_leg" | "body" | leftFrontLeg |
"tail" | "body" | tail |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/AxolotlEntityModel
intermediary net/minecraft/class_5772
official fts
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
static final float
Represents the pitch value 1.8849557638168335f used for the legs of the axolotl when it is moving in water.private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
private final ModelPart
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
Copies and mirrors the left leg angles to the right leg angles.private Vector3f
static TexturedModelData
private float
lerpAngleDegrees
(float start, float end) private float
lerpAngleDegrees
(float delta, float start, float end) private void
resetAngles
(T axolotl, float headYaw, float headPitch) Resets the angles of the axolotl model.private void
private void
void
private void
setMovingInWaterAngles
(float animationProgress, float headPitch) private void
setMovingOnGroundAngles
(float animationProgress, float headYaw) private void
setPlayingDeadAngles
(float headYaw) private void
setStandingInWaterAngles
(float animationProgress) private void
setStandingOnGroundAngles
(float animationProgress, float headYaw) private void
updateAnglesCache
(T axolotl) Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
MOVING_IN_WATER_LEG_PITCH
public static final float MOVING_IN_WATER_LEG_PITCHRepresents the pitch value 1.8849557638168335f used for the legs of the axolotl when it is moving in water.- See Also:
- Mappings:
Namespace Name Mixin selector named MOVING_IN_WATER_LEG_PITCH
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;MOVING_IN_WATER_LEG_PITCH:F
intermediary field_32449
Lnet/minecraft/class_5772;field_32449:F
official a
Lfts;a:F
-
tail
- Mappings:
Namespace Name Mixin selector named tail
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;tail:Lnet/minecraft/client/model/ModelPart;
intermediary field_28373
Lnet/minecraft/class_5772;field_28373:Lnet/minecraft/class_630;
official b
Lfts;b:Lfxq;
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector named leftHindLeg
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_28374
Lnet/minecraft/class_5772;field_28374:Lnet/minecraft/class_630;
official f
Lfts;f:Lfxq;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector named rightHindLeg
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_28375
Lnet/minecraft/class_5772;field_28375:Lnet/minecraft/class_630;
official g
Lfts;g:Lfxq;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector named leftFrontLeg
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_28376
Lnet/minecraft/class_5772;field_28376:Lnet/minecraft/class_630;
official h
Lfts;h:Lfxq;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector named rightFrontLeg
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
intermediary field_28377
Lnet/minecraft/class_5772;field_28377:Lnet/minecraft/class_630;
official i
Lfts;i:Lfxq;
-
body
- Mappings:
Namespace Name Mixin selector named body
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;body:Lnet/minecraft/client/model/ModelPart;
intermediary field_28378
Lnet/minecraft/class_5772;field_28378:Lnet/minecraft/class_630;
official j
Lfts;j:Lfxq;
-
head
- Mappings:
Namespace Name Mixin selector named head
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;head:Lnet/minecraft/client/model/ModelPart;
intermediary field_28379
Lnet/minecraft/class_5772;field_28379:Lnet/minecraft/class_630;
official k
Lfts;k:Lfxq;
-
topGills
- Mappings:
Namespace Name Mixin selector named topGills
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;topGills:Lnet/minecraft/client/model/ModelPart;
intermediary field_28380
Lnet/minecraft/class_5772;field_28380:Lnet/minecraft/class_630;
official l
Lfts;l:Lfxq;
-
leftGills
- Mappings:
Namespace Name Mixin selector named leftGills
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftGills:Lnet/minecraft/client/model/ModelPart;
intermediary field_28381
Lnet/minecraft/class_5772;field_28381:Lnet/minecraft/class_630;
official m
Lfts;m:Lfxq;
-
rightGills
- Mappings:
Namespace Name Mixin selector named rightGills
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightGills:Lnet/minecraft/client/model/ModelPart;
intermediary field_28382
Lnet/minecraft/class_5772;field_28382:Lnet/minecraft/class_630;
official n
Lfts;n:Lfxq;
-
-
Constructor Details
-
AxolotlEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_5772;<init>(Lnet/minecraft/class_630;)V
official <init>
Lfts;<init>(Lfxq;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelData
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
intermediary method_33296
Lnet/minecraft/class_5772;method_33296()Lnet/minecraft/class_5607;
official c
Lfts;c()Lfxw;
-
getHeadParts
- Specified by:
getHeadParts
in classAnimalModel<T extends AxolotlEntity & AngledModelEntity>
- Mappings:
Namespace Name Mixin selector named getHeadParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
intermediary method_22946
Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;
official a
Lftl;a()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyParts
in classAnimalModel<T extends AxolotlEntity & AngledModelEntity>
- Mappings:
Namespace Name Mixin selector named getBodyParts
Lnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
intermediary method_22948
Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;
official b
Lftl;b()Ljava/lang/Iterable;
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends AxolotlEntity & AngledModelEntity>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/entity/passive/AxolotlEntity;FFFFF)V
intermediary method_33293
Lnet/minecraft/class_5772;method_33293(Lnet/minecraft/class_5762;FFFFF)V
official a
Lfts;a(Lcge;FFFFF)V
-
updateAnglesCache
- Mappings:
Namespace Name Mixin selector named updateAnglesCache
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;updateAnglesCache(Lnet/minecraft/entity/passive/AxolotlEntity;)V
intermediary method_37093
Lnet/minecraft/class_5772;method_37093(Lnet/minecraft/class_5762;)V
official a
Lfts;a(Lcge;)V
-
getAngles
- Mappings:
Namespace Name Mixin selector named getAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;getAngles(Lnet/minecraft/client/model/ModelPart;)Lorg/joml/Vector3f;
intermediary method_37094
Lnet/minecraft/class_5772;method_37094(Lnet/minecraft/class_630;)Lorg/joml/Vector3f;
official a
Lfts;a(Lfxq;)Lorg/joml/Vector3f;
-
setAngles
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/client/model/ModelPart;Lorg/joml/Vector3f;)V
intermediary method_37096
Lnet/minecraft/class_5772;method_37096(Lnet/minecraft/class_630;Lorg/joml/Vector3f;)V
official a
Lfts;a(Lfxq;Lorg/joml/Vector3f;)V
-
resetAngles
Resets the angles of the axolotl model.- Mappings:
Namespace Name Mixin selector named resetAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;resetAngles(Lnet/minecraft/entity/passive/AxolotlEntity;FF)V
intermediary method_33292
Lnet/minecraft/class_5772;method_33292(Lnet/minecraft/class_5762;FF)V
official a
Lfts;a(Lcge;FF)V
-
lerpAngleDegrees
private float lerpAngleDegrees(float start, float end) - Mappings:
Namespace Name Mixin selector named lerpAngleDegrees
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;lerpAngleDegrees(FF)F
intermediary method_37091
Lnet/minecraft/class_5772;method_37091(FF)F
official a
Lfts;a(FF)F
-
lerpAngleDegrees
private float lerpAngleDegrees(float delta, float start, float end) - Mappings:
Namespace Name Mixin selector named lerpAngleDegrees
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;lerpAngleDegrees(FFF)F
intermediary method_37092
Lnet/minecraft/class_5772;method_37092(FFF)F
official a
Lfts;a(FFF)F
-
setAngles
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/client/model/ModelPart;FFF)V
intermediary method_37095
Lnet/minecraft/class_5772;method_37095(Lnet/minecraft/class_630;FFF)V
official a
Lfts;a(Lfxq;FFF)V
-
setStandingOnGroundAngles
private void setStandingOnGroundAngles(float animationProgress, float headYaw) - Mappings:
Namespace Name Mixin selector named setStandingOnGroundAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setStandingOnGroundAngles(FF)V
intermediary method_33291
Lnet/minecraft/class_5772;method_33291(FF)V
official b
Lfts;b(FF)V
-
setMovingOnGroundAngles
private void setMovingOnGroundAngles(float animationProgress, float headYaw) - Mappings:
Namespace Name Mixin selector named setMovingOnGroundAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setMovingOnGroundAngles(FF)V
intermediary method_33294
Lnet/minecraft/class_5772;method_33294(FF)V
official c
Lfts;c(FF)V
-
setStandingInWaterAngles
private void setStandingInWaterAngles(float animationProgress) - Mappings:
Namespace Name Mixin selector named setStandingInWaterAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setStandingInWaterAngles(F)V
intermediary method_33297
Lnet/minecraft/class_5772;method_33297(F)V
official a
Lfts;a(F)V
-
setMovingInWaterAngles
private void setMovingInWaterAngles(float animationProgress, float headPitch) - Mappings:
Namespace Name Mixin selector named setMovingInWaterAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setMovingInWaterAngles(FF)V
intermediary method_33295
Lnet/minecraft/class_5772;method_33295(FF)V
official d
Lfts;d(FF)V
-
setPlayingDeadAngles
private void setPlayingDeadAngles(float headYaw) - Mappings:
Namespace Name Mixin selector named setPlayingDeadAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;setPlayingDeadAngles(F)V
intermediary method_33298
Lnet/minecraft/class_5772;method_33298(F)V
official b
Lfts;b(F)V
-
copyLegAngles
private void copyLegAngles()Copies and mirrors the left leg angles to the right leg angles.- Mappings:
Namespace Name Mixin selector named copyLegAngles
Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;copyLegAngles()V
intermediary method_33299
Lnet/minecraft/class_5772;method_33299()V
official d
Lfts;d()V
-