@@ -7,8 +7,8 @@
|
||||
+
|
||||
public abstract class EntityFireball extends Entity {
|
||||
|
||||
private int e = -1;
|
||||
@@ -13,6 +15,8 @@
|
||||
public EntityLiving shooter;
|
||||
@@ -8,6 +10,8 @@
|
||||
public double dirX;
|
||||
public double dirY;
|
||||
public double dirZ;
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
public EntityFireball(World world) {
|
||||
super(world);
|
||||
@@ -36,12 +40,19 @@
|
||||
@@ -31,12 +35,19 @@
|
||||
public EntityFireball(World world, EntityLiving entityliving, double d0, double d1, double d2) {
|
||||
super(world);
|
||||
this.shooter = entityliving;
|
||||
@@ -37,7 +37,7 @@
|
||||
d0 += this.random.nextGaussian() * 0.4D;
|
||||
d1 += this.random.nextGaussian() * 0.4D;
|
||||
d2 += this.random.nextGaussian() * 0.4D;
|
||||
@@ -85,6 +96,12 @@
|
||||
@@ -61,6 +72,12 @@
|
||||
|
||||
if (movingobjectposition != null) {
|
||||
this.a(movingobjectposition);
|
||||
@@ -50,7 +50,7 @@
|
||||
}
|
||||
|
||||
this.locX += this.motX;
|
||||
@@ -191,6 +208,11 @@
|
||||
@@ -150,6 +167,11 @@
|
||||
} else {
|
||||
this.ap();
|
||||
if (damagesource.getEntity() != null) {
|
||||
@@ -62,7 +62,7 @@
|
||||
Vec3D vec3d = damagesource.getEntity().aB();
|
||||
|
||||
if (vec3d != null) {
|
||||
@@ -204,6 +226,7 @@
|
||||
@@ -163,6 +185,7 @@
|
||||
|
||||
if (damagesource.getEntity() instanceof EntityLiving) {
|
||||
this.shooter = (EntityLiving) damagesource.getEntity();
|
||||
|
||||
Reference in New Issue
Block a user