package net.minecraft.entity.monster;
import net.minecraft.entity.EntityCreature;
import net.minecraft.entity.passive.IAnimals;
import net.minecraft.world.World;
public abstract class EntityGolem extends EntityCreature implements IAnimals
{
private static final String __OBFID = "CL_00001644";
public EntityGolem(World p_i1686_1_)
{
super(p_i1686_1_);
}
/**
* Called when the mob is falling. Calculates and applies fall damage.
*/
protected void fall(float distance) {}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "none";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "none";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "none";
}
/**
* Get number of ticks, at least during which the living entity will be silent.
*/
public int getTalkInterval()
{
return 120;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return false;
}
}