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

29 lines
790 B
Java
Raw Normal View History

2020-08-09 17:46:58 +02:00
package mod.acgaming.spackenmobs.entities;
2020-08-23 10:30:02 +02:00
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);
}
2020-08-23 10:30:02 +02:00
@Override
protected SoundEvent getAmbientSound() {
return ModSoundEvents.ENTITY_MRBEAN_AMBIENT;
}
2020-08-09 17:46:58 +02:00
@Override
protected SoundEvent getHurtSound(DamageSource damageSourceIn) {
return ModSoundEvents.ENTITY_MRBEAN_HURT;
}
2020-08-09 17:46:58 +02:00
@Override
protected SoundEvent getDeathSound() {
return ModSoundEvents.ENTITY_MRBEAN_DEATH;
}
2020-08-09 17:46:58 +02:00
}