Class EntityGolem

All Implemented Interfaces:
IAnimals
Direct Known Subclasses:
EntityIronGolem, EntitySnowman

public abstract class EntityGolem extends EntityCreature implements IAnimals
  • Constructor Details

    • EntityGolem

      public EntityGolem(World par1World)
  • Method Details

    • fall

      protected void fall(float par1)
      Called when the mob is falling. Calculates and applies fall damage.
      Overrides:
      fall in class EntityLivingBase
    • getLivingSound

      protected String getLivingSound()
      Returns the sound this mob makes while it's alive.
      Overrides:
      getLivingSound in class EntityLiving
    • getHurtSound

      protected String getHurtSound()
      Returns the sound this mob makes when it is hurt.
      Overrides:
      getHurtSound in class EntityLivingBase
    • getDeathSound

      protected String getDeathSound()
      Returns the sound this mob makes on death.
      Overrides:
      getDeathSound in class EntityLivingBase
    • getTalkInterval

      public int getTalkInterval()
      Get number of ticks, at least during which the living entity will be silent.
      Overrides:
      getTalkInterval in class EntityLiving
    • canDespawn

      protected boolean canDespawn()
      Determines if an entity can be despawned, used on idle far away entities
      Overrides:
      canDespawn in class EntityLiving