Update to Minecraft 1.7

This commit is contained in:
Dinnerbone
2011-06-29 23:02:25 +01:00
parent a98c7ba2c7
commit a679e7f380
67 changed files with 829 additions and 678 deletions

View File

@@ -26,7 +26,7 @@ public class EntitySkeleton extends EntityMonster {
return "mob.skeletonhurt";
}
public void u() {
public void v() {
if (this.world.d()) {
float f = this.c(1.0F);
@@ -42,7 +42,7 @@ public class EntitySkeleton extends EntityMonster {
}
}
super.u();
super.v();
}
protected void a(Entity entity, float f) {
@@ -54,7 +54,7 @@ public class EntitySkeleton extends EntityMonster {
EntityArrow entityarrow = new EntityArrow(this.world, this);
++entityarrow.locY;
double d2 = entity.locY + (double) entity.s() - 0.20000000298023224D - entityarrow.locY;
double d2 = entity.locY + (double) entity.t() - 0.20000000298023224D - entityarrow.locY;
float f1 = MathHelper.a(d0 * d0 + d1 * d1) * 0.2F;
this.world.makeSound(this, "random.bow", 1.0F, 1.0F / (this.random.nextFloat() * 0.4F + 0.8F));
@@ -80,7 +80,7 @@ public class EntitySkeleton extends EntityMonster {
return Item.ARROW.id;
}
protected void r() {
protected void q() {
// CraftBukkit start - whole method
java.util.List<org.bukkit.inventory.ItemStack> loot = new java.util.ArrayList<org.bukkit.inventory.ItemStack>();