Spackenmobs/src/main/java/mod/acgaming/spackenmobs/entities/EntityMrBean.java

30 lines
760 B
Java
Raw Normal View History

2020-08-09 17:46:58 +02:00
package mod.acgaming.spackenmobs.entities;
2020-08-14 19:24:29 +02:00
import mod.acgaming.spackenmobs.misc.ModSoundEvents;
2020-08-09 17:46:58 +02:00
import net.minecraft.entity.monster.EntityZombie;
import net.minecraft.util.DamageSource;
import net.minecraft.util.SoundEvent;
import net.minecraft.world.World;
public class EntityMrBean extends EntityZombie
{
public EntityMrBean(World worldIn)
{
super(worldIn);
this.setSize(0.6F, 1.95F);
}
protected SoundEvent getAmbientSound()
{
2020-08-14 19:24:29 +02:00
return ModSoundEvents.ENTITY_MRBEAN_AMBIENT;
2020-08-09 17:46:58 +02:00
}
protected SoundEvent getHurtSound(DamageSource damageSourceIn)
{
2020-08-14 19:24:29 +02:00
return ModSoundEvents.ENTITY_MRBEAN_HURT;
2020-08-09 17:46:58 +02:00
}
protected SoundEvent getDeathSound()
{
2020-08-14 19:24:29 +02:00
return ModSoundEvents.ENTITY_MRBEAN_DEATH;
2020-08-09 17:46:58 +02:00
}
}