Added DisguiseCat.

Added CookieTown Block Hunt.
This commit is contained in:
Jonathan Williams 2013-11-15 21:41:14 -08:00
parent 99c97d1ecd
commit 84acc952fa
2 changed files with 32 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,32 @@
package mineplex.core.disguise.disguises;
public class DisguiseCat extends DisguiseTameableAnimal
{
public DisguiseCat(org.bukkit.entity.Entity entity)
{
super(entity);
DataWatcher.a(18, Byte.valueOf((byte)0));
}
public int getCatType()
{
return DataWatcher.getByte(18);
}
public void setCatType(int i)
{
DataWatcher.watch(18, Byte.valueOf((byte)i));
}
@Override
protected int GetEntityTypeId()
{
return 98;
}
protected String getHurtSound()
{
return "mob.cat.hitt";
}
}