Class EntitySnowman

All Implemented Interfaces:
IAnimals, IRangedAttackMob

public class EntitySnowman extends EntityGolem implements IRangedAttackMob
  • Constructor Details

    • EntitySnowman

      public EntitySnowman(World par1World)
  • Method Details

    • isAIEnabled

      public boolean isAIEnabled()
      Returns true if the newer Entity AI code should be run
      Overrides:
      isAIEnabled in class EntityLiving
    • applyEntityAttributes

      protected void applyEntityAttributes()
      Overrides:
      applyEntityAttributes in class EntityLiving
    • onLivingUpdate

      public void onLivingUpdate()
      Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons use this to react to sunlight and start to burn.
      Overrides:
      onLivingUpdate in class EntityLiving
    • getDropItemId

      protected int getDropItemId()
      Returns the item ID for the item the mob drops on death.
      Overrides:
      getDropItemId in class EntityLiving
    • dropFewItems

      protected void dropFewItems(boolean par1, int par2)
      Drop 0-2 items of this living's type. @param par1 - Whether this entity has recently been hit by a player. @param par2 - Level of Looting used to kill this mob.
      Overrides:
      dropFewItems in class EntityLiving
    • attackEntityWithRangedAttack

      public void attackEntityWithRangedAttack(EntityLivingBase par1EntityLivingBase, float par2)
      Attack the specified entity using a ranged attack.
      Specified by:
      attackEntityWithRangedAttack in interface IRangedAttackMob