diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-24 22:03:31 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-24 22:05:22 +0100 |
commit | 0118a20d6a4d5637504b26998bfd96c7a65ddbe1 (patch) | |
tree | 3015971c8bd61d17e7da8f00d4b3b5db01f7e9b3 /src/main/java/net/minecraft/server/EntityFireball.java | |
parent | 75ac4e00b27d05627a3c4ffde7879a37dd612d02 (diff) | |
download | craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.gz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.lz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.xz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.zip |
Update to mcdev rename revision 01 for 1.8.1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityFireball.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntityFireball.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/main/java/net/minecraft/server/EntityFireball.java b/src/main/java/net/minecraft/server/EntityFireball.java index 1383b30d..99937ae9 100644 --- a/src/main/java/net/minecraft/server/EntityFireball.java +++ b/src/main/java/net/minecraft/server/EntityFireball.java @@ -24,9 +24,9 @@ public class EntityFireball extends Entity { public EntityLiving shooter; private int k; private int l = 0; - public double c; - public double d; - public double e; + public double dirX; + public double dirY; + public double dirZ; public float yield = 1; // CraftBukkit public boolean isIncendiary = true; // CraftBukkit @@ -56,9 +56,9 @@ public class EntityFireball extends Entity { d2 += this.random.nextGaussian() * 0.4D; double d3 = (double) MathHelper.a(d0 * d0 + d1 * d1 + d2 * d2); - this.c = d0 / d3 * 0.1D; - this.d = d1 / d3 * 0.1D; - this.e = d2 / d3 * 0.1D; + this.dirX = d0 / d3 * 0.1D; + this.dirY = d1 / d3 * 0.1D; + this.dirZ = d2 / d3 * 0.1D; } public void s_() { @@ -210,9 +210,9 @@ public class EntityFireball extends Entity { f2 = 0.8F; } - this.motX += this.c; - this.motY += this.d; - this.motZ += this.e; + this.motX += this.dirX; + this.motY += this.dirY; + this.motZ += this.dirZ; this.motX *= (double) f2; this.motY *= (double) f2; this.motZ *= (double) f2; @@ -251,9 +251,9 @@ public class EntityFireball extends Entity { this.motX = vec3d.a; this.motY = vec3d.b; this.motZ = vec3d.c; - this.c = this.motX * 0.1D; - this.d = this.motY * 0.1D; - this.e = this.motZ * 0.1D; + this.dirX = this.motX * 0.1D; + this.dirY = this.motY * 0.1D; + this.dirZ = this.motZ * 0.1D; } return true; |