Update CraftBukkit to Minecraft 1.7.10

This commit is contained in:
Travis Watkins committed 2014-07-08 14:31:10 -05:00
1 parent a8628fd645
commit dbb5e6e3cd
182 files changed
+1252 -1248

No files matched your search

@@ -19,13 +19,13 @@ public class EntitySnowman extends EntityGolem implements IRangedEntity {
this.targetSelector.a(1, new PathfinderGoalNearestAttackableTarget(this, EntityInsentient.class, 0, true, false, IMonster.a));
}
public boolean bj() {
public boolean bk() {
return true;
}
protected void aC() {
super.aC();
this.getAttributeInstance(GenericAttributes.a).setValue(4.0D);
protected void aD() {
super.aD();
this.getAttributeInstance(GenericAttributes.maxHealth).setValue(4.0D);
this.getAttributeInstance(GenericAttributes.d).setValue(0.20000000298023224D);
}
@@ -35,7 +35,7 @@ public class EntitySnowman extends EntityGolem implements IRangedEntity {
int j = MathHelper.floor(this.locY);
int k = MathHelper.floor(this.locZ);
if (this.K()) {
if (this.L()) {
this.damageEntity(DamageSource.DROWN, 1.0F);
}
@@ -83,7 +83,7 @@ public class EntitySnowman extends EntityGolem implements IRangedEntity {
float f1 = MathHelper.sqrt(d0 * d0 + d2 * d2) * 0.2F;
entitysnowball.shoot(d0, d1 + (double) f1, d2, 1.6F, 12.0F);
this.makeSound("random.bow", 1.0F, 1.0F / (this.aH().nextFloat() * 0.4F + 0.8F));
this.makeSound("random.bow", 1.0F, 1.0F / (this.aI().nextFloat() * 0.4F + 0.8F));
this.world.addEntity(entitysnowball);
}
}