Update for 1.6.5

This commit is contained in:
Erik Broes
2011-05-28 22:50:08 +02:00
committed by EvilSeph
parent 9ec5d8b5df
commit 6dbd710bbf
41 changed files with 747 additions and 669 deletions

View File

@@ -38,8 +38,8 @@ public class EntityItem extends Entity {
protected void b() {}
public void p_() {
super.p_();
public void o_() {
super.o_();
if (this.pickupDelay > 0) {
--this.pickupDelay;
}
@@ -55,7 +55,7 @@ public class EntityItem extends Entity {
this.world.makeSound(this, "random.fizz", 0.4F, 2.0F + this.random.nextFloat() * 0.4F);
}
this.g(this.locX, this.locY, this.locZ);
this.g(this.locX, (this.boundingBox.b + this.boundingBox.e) / 2.0D, this.locZ);
this.move(this.motX, this.motY, this.motZ);
float f = 0.98F;
@@ -91,7 +91,7 @@ public class EntityItem extends Entity {
}
public boolean damageEntity(Entity entity, int i) {
this.ac();
this.ae();
this.f -= i;
if (this.f <= 0) {
this.die();