Class AxolotlEntityModel<T extends AxolotlEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.AnimalModel<T>
net.minecraft.client.render.entity.model.AxolotlEntityModel<T>
@Environment(CLIENT) public class AxolotlEntityModel<T extends AxolotlEntity> extends AnimalModel<T>
- Mappings:
Namespace Name official eduintermediary net/minecraft/class_5772named net/minecraft/client/render/entity/model/AxolotlEntityModel
-
Field Summary
Fields Modifier and Type Field Description private ModelPartbodyprivate ModelPartheadprivate ModelPartleftFrontLegprivate ModelPartleftGillsprivate ModelPartleftHindLegstatic floatMOVING_IN_WATER_LEG_PITCHprivate ModelPartrightFrontLegprivate ModelPartrightGillsprivate ModelPartrightHindLegprivate ModelParttailprivate ModelParttopGillsFields 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 Constructor Description AxolotlEntityModel(ModelPart root) -
Method Summary
Modifier and Type Method Description private voidcopyLegAngles()Copies and mirrors the left leg angles to the right leg angles.protected Iterable<ModelPart>getBodyParts()protected Iterable<ModelPart>getHeadParts()static TexturedModelDatagetTexturedModelData()private voidresetAngles(float headYaw, float headPitch)Resets the angles of the axolotl model.voidsetAngles(T t, float float2, float float3, float float4, float float5, float float6)private voidsetMovingInWaterAngles(float animationProgress, float headPitch)private voidsetMovingOnGroundAngles(float animationProgress)private voidsetPlayingDeadAngles()private voidsetStandingInWaterAngles(float animationProgress)private voidsetStandingOnGroundAngles(float animationProgress)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_PITCH- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLedu;a:Fintermediary field_32449Lnet/minecraft/class_5772;field_32449:Fnamed MOVING_IN_WATER_LEG_PITCHLnet/minecraft/client/render/entity/model/AxolotlEntityModel;MOVING_IN_WATER_LEG_PITCH:F
-
tail
- Mappings:
Namespace Name Mixin selector official bLedu;b:Lehe;intermediary field_28373Lnet/minecraft/class_5772;field_28373:Lnet/minecraft/class_630;named tailLnet/minecraft/client/render/entity/model/AxolotlEntityModel;tail:Lnet/minecraft/client/model/ModelPart;
-
leftHindLeg
- Mappings:
Namespace Name Mixin selector official fLedu;f:Lehe;intermediary field_28374Lnet/minecraft/class_5772;field_28374:Lnet/minecraft/class_630;named leftHindLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftHindLeg:Lnet/minecraft/client/model/ModelPart;
-
rightHindLeg
- Mappings:
Namespace Name Mixin selector official gLedu;g:Lehe;intermediary field_28375Lnet/minecraft/class_5772;field_28375:Lnet/minecraft/class_630;named rightHindLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightHindLeg:Lnet/minecraft/client/model/ModelPart;
-
leftFrontLeg
- Mappings:
Namespace Name Mixin selector official hLedu;h:Lehe;intermediary field_28376Lnet/minecraft/class_5772;field_28376:Lnet/minecraft/class_630;named leftFrontLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
rightFrontLeg
- Mappings:
Namespace Name Mixin selector official iLedu;i:Lehe;intermediary field_28377Lnet/minecraft/class_5772;field_28377:Lnet/minecraft/class_630;named rightFrontLegLnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightFrontLeg:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official jLedu;j:Lehe;intermediary field_28378Lnet/minecraft/class_5772;field_28378:Lnet/minecraft/class_630;named bodyLnet/minecraft/client/render/entity/model/AxolotlEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
head
- Mappings:
Namespace Name Mixin selector official kLedu;k:Lehe;intermediary field_28379Lnet/minecraft/class_5772;field_28379:Lnet/minecraft/class_630;named headLnet/minecraft/client/render/entity/model/AxolotlEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
topGills
- Mappings:
Namespace Name Mixin selector official lLedu;l:Lehe;intermediary field_28380Lnet/minecraft/class_5772;field_28380:Lnet/minecraft/class_630;named topGillsLnet/minecraft/client/render/entity/model/AxolotlEntityModel;topGills:Lnet/minecraft/client/model/ModelPart;
-
leftGills
- Mappings:
Namespace Name Mixin selector official mLedu;m:Lehe;intermediary field_28381Lnet/minecraft/class_5772;field_28381:Lnet/minecraft/class_630;named leftGillsLnet/minecraft/client/render/entity/model/AxolotlEntityModel;leftGills:Lnet/minecraft/client/model/ModelPart;
-
rightGills
- Mappings:
Namespace Name Mixin selector official nLedu;n:Lehe;intermediary field_28382Lnet/minecraft/class_5772;field_28382:Lnet/minecraft/class_630;named rightGillsLnet/minecraft/client/render/entity/model/AxolotlEntityModel;rightGills:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
AxolotlEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Ledu;<init>(Lehe;)Vintermediary <init>Lnet/minecraft/class_5772;<init>(Lnet/minecraft/class_630;)Vnamed <init>Lnet/minecraft/client/render/entity/model/AxolotlEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official cLedu;c()Lehk;intermediary method_33296Lnet/minecraft/class_5772;method_33296()Lnet/minecraft/class_5607;named getTexturedModelDataLnet/minecraft/client/render/entity/model/AxolotlEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
getHeadParts
- Specified by:
getHeadPartsin classAnimalModel<T extends AxolotlEntity>- Mappings:
Namespace Name Mixin selector official aLedp;a()Ljava/lang/Iterable;intermediary method_22946Lnet/minecraft/class_4592;method_22946()Ljava/lang/Iterable;named getHeadPartsLnet/minecraft/client/render/entity/model/AnimalModel;getHeadParts()Ljava/lang/Iterable;
-
getBodyParts
- Specified by:
getBodyPartsin classAnimalModel<T extends AxolotlEntity>- Mappings:
Namespace Name Mixin selector official bLedp;b()Ljava/lang/Iterable;intermediary method_22948Lnet/minecraft/class_4592;method_22948()Ljava/lang/Iterable;named getBodyPartsLnet/minecraft/client/render/entity/model/AnimalModel;getBodyParts()Ljava/lang/Iterable;
-
setAngles
- Specified by:
setAnglesin classEntityModel<T extends AxolotlEntity>- Mappings:
Namespace Name Mixin selector official aLedu;a(Lbeb;FFFFF)Vintermediary method_33293Lnet/minecraft/class_5772;method_33293(Lnet/minecraft/class_5762;FFFFF)Vnamed setAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setAngles(Lnet/minecraft/entity/passive/AxolotlEntity;FFFFF)V
-
resetAngles
private void resetAngles(float headYaw, float headPitch)Resets the angles of the axolotl model.- Parameters:
headYaw- the axolotl head yawheadPitch- the axolotl head pitch- Mappings:
Namespace Name Mixin selector official aLedu;a(FF)Vintermediary method_33292Lnet/minecraft/class_5772;method_33292(FF)Vnamed resetAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;resetAngles(FF)V
-
setStandingOnGroundAngles
private void setStandingOnGroundAngles(float animationProgress)- Mappings:
Namespace Name Mixin selector official aLedu;a(F)Vintermediary method_33291Lnet/minecraft/class_5772;method_33291(F)Vnamed setStandingOnGroundAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setStandingOnGroundAngles(F)V
-
setMovingOnGroundAngles
private void setMovingOnGroundAngles(float animationProgress)- Mappings:
Namespace Name Mixin selector official bLedu;b(F)Vintermediary method_33294Lnet/minecraft/class_5772;method_33294(F)Vnamed setMovingOnGroundAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setMovingOnGroundAngles(F)V
-
setStandingInWaterAngles
private void setStandingInWaterAngles(float animationProgress)- Mappings:
Namespace Name Mixin selector official cLedu;c(F)Vintermediary method_33297Lnet/minecraft/class_5772;method_33297(F)Vnamed setStandingInWaterAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setStandingInWaterAngles(F)V
-
setMovingInWaterAngles
private void setMovingInWaterAngles(float animationProgress, float headPitch)- Mappings:
Namespace Name Mixin selector official bLedu;b(FF)Vintermediary method_33295Lnet/minecraft/class_5772;method_33295(FF)Vnamed setMovingInWaterAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setMovingInWaterAngles(FF)V
-
setPlayingDeadAngles
private void setPlayingDeadAngles()- Mappings:
Namespace Name Mixin selector official dLedu;d()Vintermediary method_33298Lnet/minecraft/class_5772;method_33298()Vnamed setPlayingDeadAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;setPlayingDeadAngles()V
-
copyLegAngles
private void copyLegAngles()Copies and mirrors the left leg angles to the right leg angles.- Mappings:
Namespace Name Mixin selector official eLedu;e()Vintermediary method_33299Lnet/minecraft/class_5772;method_33299()Vnamed copyLegAnglesLnet/minecraft/client/render/entity/model/AxolotlEntityModel;copyLegAngles()V
-