Class BipedModel<T extends LivingEntity>

All Implemented Interfaces:
Consumer<ModelRenderer>, IHasArm, IHasHead
Direct Known Subclasses:
AbstractZombieModel, ArmorStandArmorModel, EndermanModel, PlayerModel, SkeletonModel, VexModel, ZombieVillagerModel

public class BipedModel<T extends LivingEntity> extends AgeableModel<T> implements IHasArm, IHasHead
  • Field Details

  • Constructor Details

    • BipedModel

      public BipedModel(float p_i1148_1_)
    • BipedModel

      protected BipedModel(float p_i1149_1_, float p_i1149_2_, int p_i1149_3_, int p_i1149_4_)
    • BipedModel

      public BipedModel(Function<ResourceLocation,RenderType> p_i225946_1_, float p_i225946_2_, float p_i225946_3_, int p_i225946_4_, int p_i225946_5_)
  • Method Details

    • headParts

      protected Iterable<ModelRenderer> headParts()
      Specified by:
      headParts in class AgeableModel<T extends LivingEntity>
    • bodyParts

      protected Iterable<ModelRenderer> bodyParts()
      Specified by:
      bodyParts in class AgeableModel<T extends LivingEntity>
    • prepareMobModel

      public void prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
      Overrides:
      prepareMobModel in class EntityModel<T extends LivingEntity>
    • setupAnim

      public void setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
      Specified by:
      setupAnim in class EntityModel<T extends LivingEntity>
    • poseRightArm

      private void poseRightArm(T p_241654_1_)
    • poseLeftArm

      private void poseLeftArm(T p_241655_1_)
    • setupAttackAnimation

      protected void setupAttackAnimation(T p_230486_1_, float p_230486_2_)
    • rotlerpRad

      protected float rotlerpRad(float p_205060_1_, float p_205060_2_, float p_205060_3_)
    • quadraticArmUpdate

      private float quadraticArmUpdate(float p_203068_1_)
    • copyPropertiesTo

      public void copyPropertiesTo(BipedModel<T> p_217148_1_)
    • setAllVisible

      public void setAllVisible(boolean p_178719_1_)
    • translateToHand

      public void translateToHand(HandSide p_225599_1_, MatrixStack p_225599_2_)
      Specified by:
      translateToHand in interface IHasArm
    • getArm

      protected ModelRenderer getArm(HandSide p_187074_1_)
    • getHead

      public ModelRenderer getHead()
      Specified by:
      getHead in interface IHasHead
    • getAttackArm

      protected HandSide getAttackArm(T p_217147_1_)