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/AxolotlEntityModelintermediary net/minecraft/class_5772official fum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartstatic final floatRepresents the pitch value 1.8849557638168335f used for the legs of the axolotl when it is moving in water.private final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartprivate final ModelPartFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidCopies and mirrors the left leg angles to the right leg angles.private Vector3fstatic TexturedModelDataprivate floatlerpAngleDegrees(float start, float end) private floatlerpAngleDegrees(float delta, float start, float end) private voidresetAngles(T axolotl, float headYaw, float headPitch) Resets the angles of the axolotl model.private voidprivate voidvoidprivate voidsetMovingInWaterAngles(float animationProgress, float headPitch) private voidsetMovingOnGroundAngles(float animationProgress, float headYaw) private voidsetPlayingDeadAngles(float headYaw) private voidsetStandingInWaterAngles(float animationProgress) private voidsetStandingOnGroundAngles(float animationProgress, float headYaw) private voidupdateAnglesCache(T axolotl) Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
renderMethods 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_PITCHLnet/minecraft/client/render/entity/model/AxolotlEntityModel;MOVING_IN_WATER_LEG_PITCH:Fintermediary field_32449Lnet/minecraft/class_5772;field_32449:Fofficial aLfum;a:F
-
tail
- Mappings:
Namespace Name Mixin selector named tailLnet/minecraft/client/render/entity/model/AxolotlEntityModel;tail:Lnet/minecraft/client/model/ModelPart;intermediary field_28373Lnet/minecraft/class_5772;field_28373:Lnet/minecraft/class_630;official bLfum;b:Lfyk;
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector named leftHindLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;intermediary field_28374Lnet/minecraft/class_5772;field_28374:Lnet/minecraft/class_630;official fLfum;f:Lfyk;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector named rightHindLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;intermediary field_28375Lnet/minecraft/class_5772;field_28375:Lnet/minecraft/class_630;official gLfum;g:Lfyk;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector named leftFrontLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;intermediary field_28376Lnet/minecraft/class_5772;field_28376:Lnet/minecraft/class_630;official hLfum;h:Lfyk;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector named rightFrontLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;intermediary field_28377Lnet/minecraft/class_5772;field_28377:Lnet/minecraft/class_630;official iLfum;i:Lfyk;
-
body
- Mappings:
Namespace Name Mixin selector named bodyLnet/minecraft/client/render/entity/model/AxolotlEntityModel;body:Lnet/minecraft/client/model/ModelPart;intermediary field_28378Lnet/minecraft/class_5772;field_28378:Lnet/minecraft/class_630;official jLfum;j:Lfyk;
-
head
- Mappings:
Namespace Name Mixin selector named headLnet/minecraft/client/render/entity/model/AxolotlEntityModel;head:Lnet/minecraft/client/model/ModelPart;intermediary field_28379Lnet/minecraft/class_5772;field_28379:Lnet/minecraft/class_630;official kLfum;k:Lfyk;
-
topGills
- Mappings:
Namespace Name Mixin selector named topGillsLnet/minecraft/client/render/entity/model/AxolotlEntityModel;topGills:Lnet/minecraft/client/model/ModelPart;intermediary field_28380Lnet/minecraft/class_5772;field_28380:Lnet/minecraft/class_630;official lLfum;l:Lfyk;
-
leftGills
- Mappings:
Namespace Name Mixin selector named leftGillsLnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftGills:Lnet/minecraft/client/model/ModelPart;intermediary field_28381Lnet/minecraft/class_5772;field_28381:Lnet/minecraft/class_630;official mLfum;m:Lfyk;
-
rightGills
- Mappings:
Namespace Name Mixin selector named rightGillsLnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightGills:Lnet/minecraft/client/model/ModelPart;intermediary field_28382Lnet/minecraft/class_5772;field_28382:Lnet/minecraft/class_630;official nLfum;n:Lfyk;
-
-
Constructor Details
-
AxolotlEntityModel
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)Vintermediary <init>Lnet/minecraft/class_5772;<init>(Lnet/minecraft/class_630;)Vofficial <init>Lfum;<init>(Lfyk;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelDataLnet/minecraft/client/render/entity/model/AxolotlEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;intermediary method_33296Lnet/minecraft/class_5772;method_33296()Lnet/minecraft/class_5607;official cLfum;c()Lfyq;
-
getHeadParts
- Specified by:
getHeadPartsin classAnimalModel<T extends AxolotlEntity & AngledModelEntity>- Mappings:
Namespace Name Mixin selector named getHeadPartsLnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;intermediary method_22946Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;official aLfuf;a()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyPartsin classAnimalModel<T extends AxolotlEntity & AngledModelEntity>- Mappings:
Namespace Name Mixin selector named getBodyPartsLnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;official bLfuf;b()Ljava/lang/Iterable;
-
setAngles
- Specified by:
setAnglesin classEntityModel<T extends AxolotlEntity & AngledModelEntity>- Mappings:
Namespace Name Mixin selector named setAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/entity/passive/AxolotlEntity;FFFFF)Vintermediary method_33293Lnet/minecraft/class_5772;method_33293(Lnet/minecraft/class_5762;FFFFF)Vofficial aLfum;a(Lcgq;FFFFF)V
-
updateAnglesCache
- Mappings:
Namespace Name Mixin selector named updateAnglesCacheLnet/minecraft/client/render/entity/model/AxolotlEntityModel;updateAnglesCache(Lnet/minecraft/entity/passive/AxolotlEntity;)Vintermediary method_37093Lnet/minecraft/class_5772;method_37093(Lnet/minecraft/class_5762;)Vofficial aLfum;a(Lcgq;)V
-
getAngles
- Mappings:
Namespace Name Mixin selector named getAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;getAngles(Lnet/minecraft/client/model/ModelPart;)Lorg/joml/Vector3f;intermediary method_37094Lnet/minecraft/class_5772;method_37094(Lnet/minecraft/class_630;)Lorg/joml/Vector3f;official aLfum;a(Lfyk;)Lorg/joml/Vector3f;
-
setAngles
- Mappings:
Namespace Name Mixin selector named setAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/client/model/ModelPart;Lorg/joml/Vector3f;)Vintermediary method_37096Lnet/minecraft/class_5772;method_37096(Lnet/minecraft/class_630;Lorg/joml/Vector3f;)Vofficial aLfum;a(Lfyk;Lorg/joml/Vector3f;)V
-
resetAngles
Resets the angles of the axolotl model.- Mappings:
Namespace Name Mixin selector named resetAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;resetAngles(Lnet/minecraft/entity/passive/AxolotlEntity;FF)Vintermediary method_33292Lnet/minecraft/class_5772;method_33292(Lnet/minecraft/class_5762;FF)Vofficial aLfum;a(Lcgq;FF)V
-
lerpAngleDegrees
private float lerpAngleDegrees(float start, float end) - Mappings:
Namespace Name Mixin selector named lerpAngleDegreesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;lerpAngleDegrees(FF)Fintermediary method_37091Lnet/minecraft/class_5772;method_37091(FF)Fofficial aLfum;a(FF)F
-
lerpAngleDegrees
private float lerpAngleDegrees(float delta, float start, float end) - Mappings:
Namespace Name Mixin selector named lerpAngleDegreesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;lerpAngleDegrees(FFF)Fintermediary method_37092Lnet/minecraft/class_5772;method_37092(FFF)Fofficial aLfum;a(FFF)F
-
setAngles
- Mappings:
Namespace Name Mixin selector named setAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/client/model/ModelPart;FFF)Vintermediary method_37095Lnet/minecraft/class_5772;method_37095(Lnet/minecraft/class_630;FFF)Vofficial aLfum;a(Lfyk;FFF)V
-
setStandingOnGroundAngles
private void setStandingOnGroundAngles(float animationProgress, float headYaw) - Mappings:
Namespace Name Mixin selector named setStandingOnGroundAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setStandingOnGroundAngles(FF)Vintermediary method_33291Lnet/minecraft/class_5772;method_33291(FF)Vofficial bLfum;b(FF)V
-
setMovingOnGroundAngles
private void setMovingOnGroundAngles(float animationProgress, float headYaw) - Mappings:
Namespace Name Mixin selector named setMovingOnGroundAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setMovingOnGroundAngles(FF)Vintermediary method_33294Lnet/minecraft/class_5772;method_33294(FF)Vofficial cLfum;c(FF)V
-
setStandingInWaterAngles
private void setStandingInWaterAngles(float animationProgress) - Mappings:
Namespace Name Mixin selector named setStandingInWaterAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setStandingInWaterAngles(F)Vintermediary method_33297Lnet/minecraft/class_5772;method_33297(F)Vofficial aLfum;a(F)V
-
setMovingInWaterAngles
private void setMovingInWaterAngles(float animationProgress, float headPitch) - Mappings:
Namespace Name Mixin selector named setMovingInWaterAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setMovingInWaterAngles(FF)Vintermediary method_33295Lnet/minecraft/class_5772;method_33295(FF)Vofficial dLfum;d(FF)V
-
setPlayingDeadAngles
private void setPlayingDeadAngles(float headYaw) - Mappings:
Namespace Name Mixin selector named setPlayingDeadAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setPlayingDeadAngles(F)Vintermediary method_33298Lnet/minecraft/class_5772;method_33298(F)Vofficial bLfum;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 copyLegAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;copyLegAngles()Vintermediary method_33299Lnet/minecraft/class_5772;method_33299()Vofficial dLfum;d()V
-