Added DisguiseCat.
Added CookieTown Block Hunt.
This commit is contained in:
parent
99c97d1ecd
commit
84acc952fa
BIN
Maps/Block Hunt/BlockHunt_CookieTown.zip
Normal file
BIN
Maps/Block Hunt/BlockHunt_CookieTown.zip
Normal file
Binary file not shown.
@ -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";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user