Updated to use mc-dev rename revision 1

This commit is contained in:
Nathan Adams
2011-11-29 23:17:43 +00:00
parent 8665161eaa
commit 8fbe78a2c3
117 changed files with 907 additions and 1161 deletions

View File

@@ -38,12 +38,12 @@ public class EntityPigZombie extends EntityZombie {
public void b(NBTTagCompound nbttagcompound) {
super.b(nbttagcompound);
nbttagcompound.a("Anger", (short) this.angerLevel);
nbttagcompound.setShort("Anger", (short) this.angerLevel);
}
public void a(NBTTagCompound nbttagcompound) {
super.a(nbttagcompound);
this.angerLevel = nbttagcompound.e("Anger");
this.angerLevel = nbttagcompound.getShort("Anger");
}
protected Entity findTarget() {
@@ -111,7 +111,7 @@ public class EntityPigZombie extends EntityZombie {
return "mob.zombiepig.zpigdeath";
}
protected void a(boolean flag, int i) {
protected void dropDeathLoot(boolean flag, int i) {
// CraftBukkit start
List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>();
int j = this.random.nextInt(2 + i);