Class BipedEntityModel<T extends LivingEntity>

All Implemented Interfaces:
Consumer<ModelPart>, 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
  • Field Details

  • Constructor Details

    • BipedEntityModel

      public BipedEntityModel​(float scale)
    • BipedEntityModel

      protected BipedEntityModel​(float scale, float pivotY, int textureWidth, int textureHeight)
    • BipedEntityModel

      public BipedEntityModel​(Function<Identifier,​RenderLayer> texturedLayerFactory, float scale, float pivotY, int textureWidth, int textureHeight)
  • Method Details

    • getHeadParts

      protected Iterable<ModelPart> getHeadParts()
      Specified by:
      getHeadParts in class AnimalModel<T extends LivingEntity>
    • getBodyParts

      protected Iterable<ModelPart> getBodyParts()
      Specified by:
      getBodyParts in class AnimalModel<T extends LivingEntity>
    • animateModel

      public void animateModel​(T t, float float2, float float3, float float4)
      Overrides:
      animateModel in class EntityModel<T extends LivingEntity>
    • setAngles

      public void setAngles​(T t, float float2, float float3, float float4, float float5, float float6)
      Specified by:
      setAngles in class EntityModel<T extends LivingEntity>
    • method_30154

      private void method_30154​(T t)
    • method_30155

      private void method_30155​(T t)
    • method_29353

      protected void method_29353​(T t, float float2)
    • lerpAngle

      protected float lerpAngle​(float float2, float float3, float float4)
    • method_2807

      private float method_2807​(float float2)
    • setAttributes

      public void setAttributes​(BipedEntityModel<T> bipedEntityModel)
    • setVisible

      public void setVisible​(boolean visible)
    • setArmAngle

      public void setArmAngle​(Arm arm, MatrixStack matrices)
      Specified by:
      setArmAngle in interface ModelWithArms
    • getArm

      protected ModelPart getArm​(Arm arm)
    • getHead

      public ModelPart getHead()
      Specified by:
      getHead in interface ModelWithHead
    • getPreferredArm

      protected Arm getPreferredArm​(T entity)