Class PiglinModel<T extends Mob>

All Implemented Interfaces:
ArmedModel, HeadedModel

public class PiglinModel<T extends Mob> extends PlayerModel<T>
  • Field Details

    • rightEar

      public final ModelPart rightEar
    • leftEar

      private final ModelPart leftEar
    • bodyDefault

      private final PartPose bodyDefault
    • headDefault

      private final PartPose headDefault
    • leftArmDefault

      private final PartPose leftArmDefault
    • rightArmDefault

      private final PartPose rightArmDefault
  • Constructor Details

    • PiglinModel

      public PiglinModel(ModelPart p_170810_)
  • Method Details

    • createMesh

      public static MeshDefinition createMesh(CubeDeformation p_170812_)
    • setupAnim

      public void setupAnim(T p_103366_, float p_103367_, float p_103368_, float p_103369_, float p_103370_, float p_103371_)
      Overrides:
      setupAnim in class PlayerModel<T extends Mob>
    • setupAttackAnimation

      protected void setupAttackAnimation(T p_103363_, float p_103364_)
      Overrides:
      setupAttackAnimation in class HumanoidModel<T extends Mob>
    • holdWeaponHigh

      private void holdWeaponHigh(T p_103361_)