Spackenmobs/src/main/java/mod/acgaming/spackenmobs/entities/EntityMarcellDAvis.java
2020-08-09 17:46:58 +02:00

33 lines
901 B
Java

package mod.acgaming.spackenmobs.entities;
import mod.acgaming.spackenmobs.Spackenmobs;
import net.minecraft.entity.Entity;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.monster.EntityZombie;
import net.minecraft.init.SoundEvents;
import net.minecraft.util.DamageSource;
import net.minecraft.util.SoundEvent;
import net.minecraft.world.World;
public class EntityMarcellDAvis extends EntityZombie
{
public EntityMarcellDAvis(World worldIn)
{
super(worldIn);
this.setSize(0.6F, 1.95F);
}
protected SoundEvent getAmbientSound()
{
return Spackenmobs.ENTITY_MARCELLDAVIS_AMBIENT;
}
protected SoundEvent getHurtSound(DamageSource damageSourceIn)
{
return Spackenmobs.ENTITY_MARCELLDAVIS_HURT;
}
protected SoundEvent getDeathSound()
{
return Spackenmobs.ENTITY_MARCELLDAVIS_DEATH;
}
}