summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/Entity.java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-07-08 13:25:53 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-07-08 13:25:53 +0100
commit2f218ba6b132f23cebe86efa8025b73005deb1ad (patch)
treea5f078704f509502bb06e3e57ab4f325ffb479d9 /src/main/java/net/minecraft/server/Entity.java
parentcc635ed51c8a98bbe2088115ca617c76cd7c730a (diff)
downloadcraftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar.gz
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar.lz
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.tar.xz
craftbukkit-2f218ba6b132f23cebe86efa8025b73005deb1ad.zip
Update for 1.7.3
Diffstat (limited to 'src/main/java/net/minecraft/server/Entity.java')
-rw-r--r--src/main/java/net/minecraft/server/Entity.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/Entity.java b/src/main/java/net/minecraft/server/Entity.java
index a786cc7c..2c1f11da 100644
--- a/src/main/java/net/minecraft/server/Entity.java
+++ b/src/main/java/net/minecraft/server/Entity.java
@@ -334,7 +334,7 @@ public abstract class Entity {
this.die();
}
- public boolean b(double d0, double d1, double d2) {
+ public boolean d(double d0, double d1, double d2) {
AxisAlignedBB axisalignedbb = this.boundingBox.c(d0, d1, d2);
List list = this.world.getEntities(this, axisalignedbb);
@@ -798,7 +798,7 @@ public abstract class Entity {
return MathHelper.c(f * f + f1 * f1 + f2 * f2);
}
- public double d(double d0, double d1, double d2) {
+ public double e(double d0, double d1, double d2) {
double d3 = this.locX - d0;
double d4 = this.locY - d1;
double d5 = this.locZ - d2;
@@ -806,7 +806,7 @@ public abstract class Entity {
return d3 * d3 + d4 * d4 + d5 * d5;
}
- public double e(double d0, double d1, double d2) {
+ public double f(double d0, double d1, double d2) {
double d3 = this.locX - d0;
double d4 = this.locY - d1;
double d5 = this.locZ - d2;
@@ -846,13 +846,13 @@ public abstract class Entity {
d1 *= 0.05000000074505806D;
d0 *= (double) (1.0F - this.bu);
d1 *= (double) (1.0F - this.bu);
- this.f(-d0, 0.0D, -d1);
- entity.f(d0, 0.0D, d1);
+ this.b(-d0, 0.0D, -d1);
+ entity.b(d0, 0.0D, d1);
}
}
}
- public void f(double d0, double d1, double d2) {
+ public void b(double d0, double d1, double d2) {
this.motX += d0;
this.motY += d1;
this.motZ += d2;