Class BipedEntityModel<T extends LivingEntity>
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.BipedEntityModel<T>
- All Implemented Interfaces:
ModelWithArms,ModelWithHead
- Direct Known Subclasses:
AbstractZombieModel,ArmorStandArmorEntityModel,EndermanEntityModel,PlayerEntityModel,SkeletonEntityModel,VexEntityModel,ZombieVillagerEntityModel
@Environment(CLIENT) public class BipedEntityModel<T extends LivingEntity> extends AnimalModel<T> implements ModelWithArms, ModelWithHead
- Mappings:
Namespace Name official ebbintermediary net/minecraft/class_572named net/minecraft/client/render/entity/model/BipedEntityModel
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBipedEntityModel.ArmPose -
Field Summary
Fields Modifier and Type Field Description ModelPartbodyModelParthatModelPartheadfloatleaningPitchModelPartleftArmBipedEntityModel.ArmPoseleftArmPoseModelPartleftLegModelPartrightArmBipedEntityModel.ArmPoserightArmPoseModelPartrightLegbooleansneakingFields 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 BipedEntityModel(ModelPart root)BipedEntityModel(ModelPart root, Function<Identifier,RenderLayer> renderLayerFactory) -
Method Summary
Modifier and Type Method Description protected voidanimateArms(T entity, float animationProgress)voidanimateModel(T t, float float2, float float3, float float4)protected ModelPartgetArm(Arm arm)protected Iterable<ModelPart>getBodyParts()ModelPartgetHead()protected Iterable<ModelPart>getHeadParts()static ModelDatagetModelData(Dilation dilation, float pivotOffsetY)private ArmgetPreferredArm(T entity)protected floatlerpAngle(float angleOne, float angleTwo, float magnitude)private floatmethod_2807(float float2)private voidpositionLeftArm(T entity)private voidpositionRightArm(T entity)voidsetAngles(T t, float float2, float float3, float float4, float float5, float float6)voidsetArmAngle(Arm arm, MatrixStack matrices)voidsetAttributes(BipedEntityModel<T> model)voidsetVisible(boolean visible)Methods inherited from class net.minecraft.client.render.entity.model.AnimalModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
head
- Mappings:
Namespace Name Mixin selector official fLebb;f:Ledh;intermediary field_3398Lnet/minecraft/class_572;field_3398:Lnet/minecraft/class_630;named headLnet/minecraft/client/render/entity/model/BipedEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
hat
- Mappings:
Namespace Name Mixin selector official gLebb;g:Ledh;intermediary field_3394Lnet/minecraft/class_572;field_3394:Lnet/minecraft/class_630;named hatLnet/minecraft/client/render/entity/model/BipedEntityModel;hat:Lnet/minecraft/client/model/ModelPart;
-
body
- Mappings:
Namespace Name Mixin selector official hLebb;h:Ledh;intermediary field_3391Lnet/minecraft/class_572;field_3391:Lnet/minecraft/class_630;named bodyLnet/minecraft/client/render/entity/model/BipedEntityModel;body:Lnet/minecraft/client/model/ModelPart;
-
rightArm
- Mappings:
Namespace Name Mixin selector official iLebb;i:Ledh;intermediary field_3401Lnet/minecraft/class_572;field_3401:Lnet/minecraft/class_630;named rightArmLnet/minecraft/client/render/entity/model/BipedEntityModel;rightArm:Lnet/minecraft/client/model/ModelPart;
-
leftArm
- Mappings:
Namespace Name Mixin selector official jLebb;j:Ledh;intermediary field_27433Lnet/minecraft/class_572;field_27433:Lnet/minecraft/class_630;named leftArmLnet/minecraft/client/render/entity/model/BipedEntityModel;leftArm:Lnet/minecraft/client/model/ModelPart;
-
rightLeg
- Mappings:
Namespace Name Mixin selector official kLebb;k:Ledh;intermediary field_3392Lnet/minecraft/class_572;field_3392:Lnet/minecraft/class_630;named rightLegLnet/minecraft/client/render/entity/model/BipedEntityModel;rightLeg:Lnet/minecraft/client/model/ModelPart;
-
leftLeg
- Mappings:
Namespace Name Mixin selector official lLebb;l:Ledh;intermediary field_3397Lnet/minecraft/class_572;field_3397:Lnet/minecraft/class_630;named leftLegLnet/minecraft/client/render/entity/model/BipedEntityModel;leftLeg:Lnet/minecraft/client/model/ModelPart;
-
leftArmPose
- Mappings:
Namespace Name Mixin selector official mLebb;m:Lebb$a;intermediary field_3399Lnet/minecraft/class_572;field_3399:Lnet/minecraft/class_572$class_573;named leftArmPoseLnet/minecraft/client/render/entity/model/BipedEntityModel;leftArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
-
rightArmPose
- Mappings:
Namespace Name Mixin selector official nLebb;n:Lebb$a;intermediary field_3395Lnet/minecraft/class_572;field_3395:Lnet/minecraft/class_572$class_573;named rightArmPoseLnet/minecraft/client/render/entity/model/BipedEntityModel;rightArmPose:Lnet/minecraft/client/render/entity/model/BipedEntityModel$ArmPose;
-
sneaking
public boolean sneaking- Mappings:
Namespace Name Mixin selector official oLebb;o:Zintermediary field_3400Lnet/minecraft/class_572;field_3400:Znamed sneakingLnet/minecraft/client/render/entity/model/BipedEntityModel;sneaking:Z
-
leaningPitch
public float leaningPitch- Mappings:
Namespace Name Mixin selector official pLebb;p:Fintermediary field_3396Lnet/minecraft/class_572;field_3396:Fnamed leaningPitchLnet/minecraft/client/render/entity/model/BipedEntityModel;leaningPitch:F
-
-
Constructor Details
-
BipedEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Lebb;<init>(Ledh;)Vintermediary <init>Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;)Vnamed <init>Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
BipedEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Lebb;<init>(Ledh;Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_572;<init>(Lnet/minecraft/class_630;Ljava/util/function/Function;)Vnamed <init>Lnet/minecraft/client/render/entity/model/BipedEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;Ljava/util/function/Function;)V
-
-
Method Details
-
getModelData
- Mappings:
Namespace Name Mixin selector official aLebb;a(Ledl;F)Ledp;intermediary method_32011Lnet/minecraft/class_572;method_32011(Lnet/minecraft/class_5605;F)Lnet/minecraft/class_5609;named getModelDataLnet/minecraft/client/render/entity/model/BipedEntityModel;getModelData(Lnet/minecraft/client/util/math/Dilation;F)Lnet/minecraft/client/model/ModelData;
-
getHeadParts
- Specified by:
getHeadPartsin classAnimalModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official aLdzt;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 LivingEntity>- Mappings:
Namespace Name Mixin selector official bLdzt;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;
-
animateModel
- Overrides:
animateModelin classEntityModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official aLebb;a(Lari;FFF)Vintermediary method_17086Lnet/minecraft/class_572;method_17086(Lnet/minecraft/class_1309;FFF)Vnamed animateModelLnet/minecraft/client/render/entity/model/BipedEntityModel;animateModel(Lnet/minecraft/entity/LivingEntity;FFF)V
-
setAngles
- Specified by:
setAnglesin classEntityModel<T extends LivingEntity>- Mappings:
Namespace Name Mixin selector official aLebb;a(Lari;FFFFF)Vintermediary method_17087Lnet/minecraft/class_572;method_17087(Lnet/minecraft/class_1309;FFFFF)Vnamed setAnglesLnet/minecraft/client/render/entity/model/BipedEntityModel;setAngles(Lnet/minecraft/entity/LivingEntity;FFFFF)V
-
positionRightArm
- Mappings:
Namespace Name Mixin selector official aLebb;a(Lari;)Vintermediary method_30154Lnet/minecraft/class_572;method_30154(Lnet/minecraft/class_1309;)Vnamed positionRightArmLnet/minecraft/client/render/entity/model/BipedEntityModel;positionRightArm(Lnet/minecraft/entity/LivingEntity;)V
-
positionLeftArm
- Mappings:
Namespace Name Mixin selector official bLebb;b(Lari;)Vintermediary method_30155Lnet/minecraft/class_572;method_30155(Lnet/minecraft/class_1309;)Vnamed positionLeftArmLnet/minecraft/client/render/entity/model/BipedEntityModel;positionLeftArm(Lnet/minecraft/entity/LivingEntity;)V
-
animateArms
- Mappings:
Namespace Name Mixin selector official aLebb;a(Lari;F)Vintermediary method_29353Lnet/minecraft/class_572;method_29353(Lnet/minecraft/class_1309;F)Vnamed animateArmsLnet/minecraft/client/render/entity/model/BipedEntityModel;animateArms(Lnet/minecraft/entity/LivingEntity;F)V
-
lerpAngle
protected float lerpAngle(float angleOne, float angleTwo, float magnitude)- Mappings:
Namespace Name Mixin selector official aLebb;a(FFF)Fintermediary method_2804Lnet/minecraft/class_572;method_2804(FFF)Fnamed lerpAngleLnet/minecraft/client/render/entity/model/BipedEntityModel;lerpAngle(FFF)F
-
method_2807
private float method_2807(float float2)- Mappings:
Namespace Name Mixin selector official aLebb;a(F)Fintermediary method_2807Lnet/minecraft/class_572;method_2807(F)Fnamed method_2807Lnet/minecraft/client/render/entity/model/BipedEntityModel;method_2807(F)F
-
setAttributes
- Mappings:
Namespace Name Mixin selector official aLebb;a(Lebb;)Vintermediary method_2818Lnet/minecraft/class_572;method_2818(Lnet/minecraft/class_572;)Vnamed setAttributesLnet/minecraft/client/render/entity/model/BipedEntityModel;setAttributes(Lnet/minecraft/client/render/entity/model/BipedEntityModel;)V
-
setVisible
public void setVisible(boolean visible)- Mappings:
Namespace Name Mixin selector official d_Lebb;d_(Z)Vintermediary method_2805Lnet/minecraft/class_572;method_2805(Z)Vnamed setVisibleLnet/minecraft/client/render/entity/model/BipedEntityModel;setVisible(Z)V
-
setArmAngle
- Specified by:
setArmAnglein interfaceModelWithArms- Mappings:
Namespace Name Mixin selector official aLdzv;a(Lare;Ldlr;)Vintermediary method_2803Lnet/minecraft/class_3881;method_2803(Lnet/minecraft/class_1306;Lnet/minecraft/class_4587;)Vnamed setArmAngleLnet/minecraft/client/render/entity/model/ModelWithArms;setArmAngle(Lnet/minecraft/util/Arm;Lnet/minecraft/client/util/math/MatrixStack;)V
-
getArm
- Mappings:
Namespace Name Mixin selector official aLebb;a(Lare;)Ledh;intermediary method_2808Lnet/minecraft/class_572;method_2808(Lnet/minecraft/class_1306;)Lnet/minecraft/class_630;named getArmLnet/minecraft/client/render/entity/model/BipedEntityModel;getArm(Lnet/minecraft/util/Arm;)Lnet/minecraft/client/model/ModelPart;
-
getHead
- Specified by:
getHeadin interfaceModelWithHead- Mappings:
Namespace Name Mixin selector official dLeax;d()Ledh;intermediary method_2838Lnet/minecraft/class_3882;method_2838()Lnet/minecraft/class_630;named getHeadLnet/minecraft/client/render/entity/model/ModelWithHead;getHead()Lnet/minecraft/client/model/ModelPart;
-
getPreferredArm
- Mappings:
Namespace Name Mixin selector official cLebb;c(Lari;)Lare;intermediary method_2806Lnet/minecraft/class_572;method_2806(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1306;named getPreferredArmLnet/minecraft/client/render/entity/model/BipedEntityModel;getPreferredArm(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/Arm;
-