mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
30 lines
618 B
Java
30 lines
618 B
Java
package com.hbm.entity.mob;
|
|
|
|
import net.minecraft.entity.EntityAgeable;
|
|
import net.minecraft.entity.passive.EntityChicken;
|
|
import net.minecraft.world.World;
|
|
|
|
public class EntityDuck extends EntityChicken {
|
|
|
|
public EntityDuck(World world) {
|
|
super(world);
|
|
}
|
|
|
|
protected String getLivingSound() {
|
|
return "hbm:entity.ducc";
|
|
}
|
|
|
|
protected String getHurtSound() {
|
|
return "hbm:entity.ducc";
|
|
}
|
|
|
|
protected String getDeathSound() {
|
|
return "hbm:entity.ducc";
|
|
}
|
|
|
|
public EntityDuck createChild(EntityAgeable entity)
|
|
{
|
|
return new EntityDuck(this.worldObj);
|
|
}
|
|
}
|