There will be upcoming Mods, Sound Mods, and Texture packs posted here.
Current Projects!
Jetpack mod, It will be released when bugs are cleared!
Boat/house, This adds a boat that you can build on, note: if it is huge you might want to drive it in 3rd person! Still working on this one!
Released Mods!
Realistic Sound packs for SDK's Gun Mod.
Pack 1:Download the first pack here
Pack one is the first pack, this is a high quality. The weapon sounds here are:
MP5: Real sound taken from a Century Arms X9 Mac-10.
Sig550: Real sound taken from a AUG.
M16: Real sound taken from a DMPS M4.
AK-47: Real sound taken from a AKS-74u Krinkov.
Deagle: Real sound taken from a S&W Sigma .40.
Shotgun: Real sound taken from a Winchester 1200.
Sniper: Real sound taken from a M24.
Minigun: Real sound taken from a Malcor Firearms PKM.
RPG: Real sound taken from a AT-4 Disposable.
Pack 2 will have real high quality sounds of the actual weapons. Minigun will be the hard part...
I'm not too good at Java, but I believe you have to have the classes that the IZ class uses in the same folder for it to compile, otherwise the compiler has no idea what class the code is referring to.
Ohh! so I have to probably decompile the whole jar (and files) then compile it again?
Hello, I have Decompiled a IZ.class file for editing. I used DJ Decompiler. I have 2 .class files, that conflict with 2 mods.
Them being SDK Weapon mod and Balkon's Weapon mod. I merged the 3 lines in Balkon's IZ file with SDK. But when recompiling with DJ Decompiler I get a error...
Here is the codes from the IZ classes.
SDK
import java.io.PrintStream;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.List;
import java.util.Random;
public abstract class iz extends om
{
public iz(dt world)
{
super(world);
B = 20;
E = 0.0F;
F = 0.0F;
K = true;
L = "/mob/char.png";
M = true;
N = 0.0F;
O = null;
P = 1.0F;
Q = 0;
R = 0.0F;
S = false;
Z = 0.0F;
aa = 0;
ab = 0;
ae = false;
af = -1;
ag = (float)(Math.random() * 0.89999997615814209D + 0.10000000149011612D);
aq = 0.0F;
ar = 0;
as = 0;
aw = false;
ax = 0.0F;
ay = 0.7F;
c = 0;
V = 10;
aB = true;
D = (float)(Math.random() + 1.0D) * 0.01F;
c(aI, aJ, aK);
C = (float)Math.random() * 12398F;
aO = (float)(Math.random() * 3.1415927410125732D * 2D);
bl = 0.5F;
}
public boolean a(double d)
{
return true;
}
public float a(float f)
{
if(!sdkUtilityNotFound)
try
{
if(sdkUtilityNightvisionEnabled == null)
{
Class sdkUtility;
try
{
sdkUtility = Class.forName("mod_SdkUtility");
}
catch(Exception e)
{
sdkUtility = Class.forName("net.minecraft.src.mod_SdkUtility");
}
sdkUtilityNightvisionEnabled = sdkUtility.getDeclaredMethod("nightvisionEnabled", new Class[0]);
}
if(((Boolean)sdkUtilityNightvisionEnabled.invoke(null, (Object[])null)).booleanValue())
return 2.0F;
}
catch(Exception e)
{
System.out.println("mod_SdkUtility not found in EntityLiving. Ignore this exception if you do not have it installed.");
e.printStackTrace();
sdkUtilityNotFound = true;
}
return super.a(f);
}
protected void b()
{
}
public boolean e(om entity)
{
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
}
public String N()
{
return L;
}
public boolean f_()
{
return !aZ;
}
public boolean g_()
{
return !aZ;
}
public float B()
{
return bc * 0.85F;
}
public int d()
{
return 80;
}
public void O()
{
String s = f();
if(s != null)
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
}
public void P()
{
T = U;
super.P();
if(bp.nextInt(1000) < a++)
{
a = -d();
O();
}
if(R() && I())
a(((om) (null)), 1);
if(bz || aE.t)
bs = 0;
if(R() && a(iu.f) && !c_())
{
bw--;
if(bw == -20)
{
bw = 0;
for(int i = 0; i < 8; i++)
{
float f = bp.nextFloat() - bp.nextFloat();
float f1 = bp.nextFloat() - bp.nextFloat();
float f2 = bp.nextFloat() - bp.nextFloat();
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
}
a(((om) (null)), 2);
}
bs = 0;
} else
{
bw = bt;
}
ac = ad;
if(ab > 0)
ab--;
if(X > 0)
X--;
if(bv > 0)
bv--;
if(V <= 0)
{
aa++;
if(aa > 20)
{
T();
H();
for(int j = 0; j < 20; j++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
}
}
}
J = I;
F = E;
aQ = aO;
aR = aP;
}
public void Q()
{
for(int i = 0; i < 20; i++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
double d3 = 10D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
}
}
public void x()
{
super.x();
G = H;
H = 0.0F;
}
public void a(double d, double d1, double d2, float f,
float f1, int i)
{
ba = 0.0F;
al = d;
am = d1;
an = d2;
ao = f;
ap = f1;
ak = i;
}
public void q_()
{
super.q_();
m();
double d = aI - aF;
double d1 = aK - aH;
float f = gq.a(d * d + d1 * d1);
float f1 = E;
float f2 = 0.0F;
G = H;
float f3 = 0.0F;
if(f > 0.05F)
{
f3 = 1.0F;
f2 = f * 3F;
f1 = ((float)Math.atan2(d1, d) * 180F) / 3.141593F - 90F;
}
if(U > 0.0F)
f1 = aO;
if(!aT)
f3 = 0.0F;
H = H + (f3 - H) * 0.3F;
float f4;
for(f4 = f1 - E; f4 < -180F; f4 += 360F);
for(; f4 >= 180F; f4 -= 360F);
E += f4 * 0.3F;
float f5;
for(f5 = aO - E; f5 < -180F; f5 += 360F);
for(; f5 >= 180F; f5 -= 360F);
boolean flag = f5 < -90F || f5 >= 90F;
if(f5 < -75F)
f5 = -75F;
if(f5 >= 75F)
f5 = 75F;
E = aO - f5;
if(f5 * f5 > 2500F)
E += f5 * 0.2F;
if(flag)
f2 *= -1F;
for(; aO - aQ < -180F; aQ -= 360F);
for(; aO - aQ >= 180F; aQ += 360F);
for(; E - F < -180F; F -= 360F);
for(; E - F >= 180F; F += 360F);
for(; aP - aR < -180F; aR -= 360F);
for(; aP - aR >= 180F; aR += 360F);
I += f2;
}
protected void a(float f, float f1)
{
super.a(f, f1);
}
public void c(int i)
{
if(V <= 0)
return;
V += i;
if(V > 20)
V = 20;
bv = B / 2;
}
public boolean a(om entity, int i)
{
return attackEntityFrom2(entity, i, false);
}
public boolean attackEntityFrom2(om entity, int i, boolean moreDamageOverride)
{
if(aE.t)
return false;
as = 0;
if(V <= 0)
return false;
ai = 1.5F;
boolean flag = true;
if((float)bv > (float)B / 2.0F)
{
if(moreDamageOverride)
{
b(i);
ar = i;
flag = false;
} else
{
if(i <= ar)
return false;
b(i - ar);
ar = i;
flag = false;
}
} else
{
ar = i;
W = V;
bv = B;
b(i);
X = Y = 10;
}
Z = 0.0F;
if(flag)
{
aE.a(this, (byte)2);
Z();
if(entity != null)
{
double d = entity.aI - aI;
double d1;
for(d1 = entity.aK - aK; d * d + d1 * d1 < 0.0001D; d1 = (Math.random() - Math.random()) * 0.01D)
d = (Math.random() - Math.random()) * 0.01D;
Z = (float)((Math.atan2(d1, d) * 180D) / 3.1415927410125732D) - aO;
a(entity, i, d, d1);
} else
{
Z = (int)(Math.random() * 2D) * 180;
}
}
if(V <= 0)
{
if(flag)
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
b(entity);
} else
if(flag)
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
return true;
}
public void h()
{
X = Y = 10;
Z = 0.0F;
}
protected void b(int i)
{
V -= i;
}
protected float j()
{
return 1.0F;
}
protected String f()
{
return null;
}
protected String g()
{
return "random.hurt";
}
protected String h_()
{
return "random.hurt";
}
public void a(om entity, int i, double d, double d1)
{
float f = gq.a(d * d + d1 * d1);
float f1 = 0.4F;
aL /= 2D;
aM /= 2D;
aN /= 2D;
aL -= (d / (double)f) * (double)f1;
aM += 0.40000000596046448D;
aN -= (d1 / (double)f) * (double)f1;
if(aM > 0.40000000596046448D)
aM = 0.40000000596046448D;
}
public void b(om entity)
{
if(Q > 0 && entity != null)
entity.c(this, Q);
ae = true;
if(!aE.t)
o();
aE.a(this, (byte)3);
}
protected void o()
{
int i = i();
if(i > 0)
{
int j = bp.nextInt(3);
for(int k = 0; k < j; k++)
b(i, 1);
}
}
protected int i()
{
return 0;
}
protected void c(float f)
{
int i = (int)Math.ceil(f - 3F);
if(i > 0)
{
a(((om) (null)), i);
int j = aE.a(gq.b(aI), gq.b(aJ - 0.20000000298023224D - (double)ba), gq.b(aK));
if(j > 0)
{
bu stepsound = qk.m[j].bt;
aE.a(this, stepsound.d(), stepsound.b() * 0.5F, stepsound.c() * 0.75F);
}
}
}
public void b(float f, float f1)
{
if(j_())
{
double d = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.80000001192092896D;
aM *= 0.80000001192092896D;
aN *= 0.80000001192092896D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d, aN))
aM = 0.30000001192092896D;
} else
if(Y())
{
double d1 = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.5D;
aM *= 0.5D;
aN *= 0.5D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d1, aN))
aM = 0.30000001192092896D;
} else
{
float f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int i = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(i > 0)
f2 = qk.m[i].bw * 0.91F;
}
float f3 = 0.1627714F / (f2 * f2 * f2);
a(f, f1, aT ? 0.1F * f3 : 0.02F);
f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int j = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(j > 0)
f2 = qk.m[j].bw * 0.91F;
}
if(n())
{
bg = 0.0F;
if(aM < -0.14999999999999999D)
aM = -0.14999999999999999D;
}
b(aL, aM, aN);
if(aU && n())
aM = 0.20000000000000001D;
aM -= 0.080000000000000002D;
aM *= 0.98000001907348633D;
aL *= f2;
aN *= f2;
}
ah = ai;
double d2 = aI - aF;
double d3 = aK - aH;
float f4 = gq.a(d2 * d2 + d3 * d3) * 4F;
if(f4 > 1.0F)
f4 = 1.0F;
ai += (f4 - ai) * 0.4F;
aj += ai;
}
public boolean n()
{
int i = gq.b(aI);
int j = gq.b(aS.:cool.gif:;
int k = gq.b(aK);
if(!sdkGrapplingHookNotFound)
try
{
if(sdkBlockRopeId == -1)
{
Class sdkGrapplingHook;
try
{
sdkGrapplingHook = Class.forName("mod_SdkGrapplingHook");
}
catch(Exception e)
{
sdkGrapplingHook = Class.forName("net.minecraft.src.mod_SdkGrapplingHook");
}
Field sdkBlockRope = sdkGrapplingHook.getDeclaredField("blockRope");
sdkBlockRopeId = ((qk)sdkBlockRope.get(null)).bk;
}
return aE.a(i, j, k) == qk.aF.bk || aE.a(i, j + 1, k) == qk.aF.bk || aE.a(i, j, k) == sdkBlockRopeId || aE.a(i, j + 1, k) == sdkBlockRopeId;
}
catch(Exception e)
{
System.out.println("mod_SdkGrapplingHook not found in EntityLiving. Ignore this exception if you do not have it installed.");
e.printStackTrace();
sdkGrapplingHookNotFound = true;
}
return aE.a(i, j, k) == qk.aF.bk || aE.a(i, j + 1, k) == qk.aF.bk;
}
public void a(ks nbttagcompound)
{
nbttagcompound.a("Health", (short)V);
nbttagcompound.a("HurtTime", (short)X);
nbttagcompound.a("DeathTime", (short)aa);
nbttagcompound.a("AttackTime", (short)ab);
}
public void b(ks nbttagcompound)
{
V = nbttagcompound.d("Health");
if(!nbttagcompound.b("Health"))
V = 10;
X = nbttagcompound.d("HurtTime");
aa = nbttagcompound.d("DeathTime");
ab = nbttagcompound.d("AttackTime");
}
public boolean R()
{
return !aZ && V > 0;
}
public boolean c_()
{
return false;
}
public void m()
{
if(ak > 0)
{
double d = aI + (al - aI) / (double)ak;
double d1 = aJ + (am - aJ) / (double)ak;
double d2 = aK + (an - aK) / (double)ak;
double d3;
for(d3 = ao - (double)aO; d3 < -180D; d3 += 360D);
for(; d3 >= 180D; d3 -= 360D);
aO += d3 / (double)ak;
aP += (ap - (double)aP) / (double)ak;
ak--;
c(d, d1, d2);
c(aO, aP);
}
if(v())
{
aw = false;
at = 0.0F;
au = 0.0F;
av = 0.0F;
} else
if(!S)
d_();
boolean flag = j_();
boolean flag1 = Y();
if(aw)
if(flag)
aM += 0.039999999105930328D;
else
if(flag1)
aM += 0.039999999105930328D;
else
if(aT)
S();
at *= 0.98F;
au *= 0.98F;
av *= 0.9F;
b(at, au);
List list = aE.b(this, aS.b(0.20000000298023224D, 0.0D, 0.20000000298023224D));
if(list != null && list.size() > 0)
{
for(int i = 0; i < list.size(); i++)
{
om entity = (om)list.get(i);
if(entity.g_())
entity.h(this);
}
}
}
protected boolean v()
{
return V <= 0;
}
protected void S()
{
aM = 0.41999998688697815D;
}
protected void d_()
{
as++;
fd entityplayer = aE.a(this, -1D);
if(entityplayer != null)
{
double d = ((om) (entityplayer)).aI - aI;
double d1 = ((om) (entityplayer)).aJ - aJ;
double d2 = ((om) (entityplayer)).aK - aK;
double d3 = d * d + d1 * d1 + d2 * d2;
if(d3 > 16384D)
H();
if(as > 600 && bp.nextInt(800) == 0)
if(d3 < 1024D)
as = 0;
else
H();
}
at = 0.0F;
au = 0.0F;
float f = 8F;
if(bp.nextFloat() < 0.02F)
{
fd entityplayer1 = aE.a(this, f);
if(entityplayer1 != null)
{
b = entityplayer1;
c = 10 + bp.nextInt(20);
} else
{
av = (bp.nextFloat() - 0.5F) * 20F;
}
}
if(b != null)
{
b(b, 10F);
if(c-- <= 0 || b.aZ || b.g(this) > (double)(f * f))
b = null;
} else
{
if(bp.nextFloat() < 0.05F)
av = (bp.nextFloat() - 0.5F) * 20F;
aO += av;
aP = ax;
}
boolean flag = j_();
boolean flag1 = Y();
if(flag || flag1)
aw = bp.nextFloat() < 0.8F;
}
public void b(om entity, float f)
{
double d = entity.aI - aI;
double d2 = entity.aK - aK;
double d1;
if(entity instanceof iz)
{
iz entityliving = (iz)entity;
d1 = (entityliving.aJ + (double)entityliving.B()) - (aJ + (double)B());
} else
{
d1 = (entity.aS.b + entity.aS.e) / 2D - (aJ + (double)B());
}
double d3 = gq.a(d * d + d2 * d2);
float f1 = (float)((Math.atan2(d2, d) * 180D) / 3.1415927410125732D) - 90F;
float f2 = (float)((Math.atan2(d1, d3) * 180D) / 3.1415927410125732D);
aP = -b(aP, f2, f);
aO = b(aO, f1, f);
}
private float b(float f, float f1, float f2)
{
float f3;
for(f3 = f1 - f; f3 < -180F; f3 += 360F);
for(; f3 >= 180F; f3 -= 360F);
if(f3 > f2)
f3 = f2;
if(f3 < -f2)
f3 = -f2;
return f + f3;
}
public void T()
{
}
public boolean c()
{
return aE.a(aS) && aE.a(this, aS).size() == 0 && !aE.b(aS);
}
protected void U()
{
a(((om) (null)), 4);
}
public float d(float f)
{
float f1 = U - T;
if(f1 < 0.0F)
f1++;
return T + f1 * f;
}
public ay e(float f)
{
if(f == 1.0F)
{
return ay.b(aI, aJ, aK);
} else
{
double d = aF + (aI - aF) * (double)f;
double d1 = aG + (aJ - aG) * (double)f;
double d2 = aH + (aK - aH) * (double)f;
return ay.b(d, d1, d2);
}
}
public ay V()
{
return f(1.0F);
}
public ay f(float f)
{
if(f == 1.0F)
{
float f1 = gq.b(-aO * 0.01745329F - 3.141593F);
float f3 = gq.a(-aO * 0.01745329F - 3.141593F);
float f5 = -gq.b(-aP * 0.01745329F);
float f7 = gq.a(-aP * 0.01745329F);
return ay.b(f3 * f5, f7, f1 * f5);
} else
{
float f2 = aR + (aP - aR) * f;
float f4 = aQ + (aO - aQ) * f;
float f6 = gq.b(-f4 * 0.01745329F - 3.141593F);
float f8 = gq.a(-f4 * 0.01745329F - 3.141593F);
float f9 = -gq.b(-f2 * 0.01745329F);
float f10 = gq.a(-f2 * 0.01745329F);
return ay.b(f8 * f9, f10, f6 * f9);
}
}
public qu a(double d, float f)
{
ay vec3d = e(f);
ay vec3d1 = f(f);
ay vec3d2 = vec3d.c(vec3d1.a * d, vec3d1.b * d, vec3d1.c * d);
return aE.a(vec3d, vec3d2);
}
public int k()
{
return 4;
}
public gz o_()
{
return null;
}
public void a(byte byte0)
{
if(byte0 == 2)
{
ai = 1.5F;
bv = B;
X = Y = 10;
Z = 0.0F;
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
a(((om) (null)), 0);
} else
if(byte0 == 3)
{
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
V = 0;
b(((om) (null)));
} else
{
super.a(byte0);
}
}
public boolean K()
{
return false;
}
public int B;
public float C;
public float D;
public float E;
public float F;
protected float G;
protected float H;
protected float I;
protected float J;
protected boolean K;
protected String L;
protected boolean M;
protected float N;
protected String O;
protected float P;
protected int Q;
protected float R;
public boolean S;
public float T;
public float U;
public int V;
public int W;
private int a;
public int X;
public int Y;
public float Z;
public int aa;
public int ab;
public float ac;
public float ad;
protected boolean ae;
public int af;
public float ag;
public float ah;
public float ai;
public float aj;
protected int ak;
protected double al;
protected double am;
protected double an;
protected double ao;
protected double ap;
float aq;
protected int ar;
protected int as;
protected float at;
protected float au;
protected float av;
protected boolean aw;
protected float ax;
protected float ay;
private om b;
private int c;
private static boolean sdkGrapplingHookNotFound = false;
private static int sdkBlockRopeId = -1;
private static boolean sdkUtilityNotFound = false;
private static Method sdkUtilityNightvisionEnabled = null;
}
Balkon:
import java.util.List;
import java.util.Random;
public abstract class iz extends om
{
public iz(dt world)
{
super(world);
fKnockBack = 0.4F;
B = 20;
E = 0.0F;
F = 0.0F;
K = true;
L = "/mob/char.png";
M = true;
N = 0.0F;
O = null;
P = 1.0F;
Q = 0;
R = 0.0F;
S = false;
Z = 0.0F;
aa = 0;
ab = 0;
ae = false;
af = -1;
ag = (float)(Math.random() * 0.89999997615814209D + 0.10000000149011612D);
aq = 0.0F;
ar = 0;
as = 0;
aw = false;
ax = 0.0F;
ay = 0.7F;
c = 0;
V = 10;
aB = true;
D = (float)(Math.random() + 1.0D) * 0.01F;
c(aI, aJ, aK);
C = (float)Math.random() * 12398F;
aO = (float)(Math.random() * 3.1415927410125732D * 2D);
bl = 0.5F;
}
protected void b()
{
}
public boolean e(om entity)
{
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
}
public String N()
{
return L;
}
public boolean f_()
{
return !aZ;
}
public boolean g_()
{
return !aZ;
}
public float B()
{
return bc * 0.85F;
}
public int d()
{
return 80;
}
public void O()
{
String s = f();
if(s != null)
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
}
public void P()
{
T = U;
super.P();
if(bp.nextInt(1000) < a++)
{
a = -d();
O();
}
if(R() && I())
a(((om) (null)), 1);
if(bz || aE.t)
bs = 0;
if(R() && a(iu.f) && !c_())
{
bw--;
if(bw == -20)
{
bw = 0;
for(int i = 0; i < 8; i++)
{
float f = bp.nextFloat() - bp.nextFloat();
float f1 = bp.nextFloat() - bp.nextFloat();
float f2 = bp.nextFloat() - bp.nextFloat();
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
}
a(((om) (null)), 2);
}
bs = 0;
} else
{
bw = bt;
}
ac = ad;
if(ab > 0)
ab--;
if(X > 0)
X--;
if(bv > 0)
bv--;
if(V <= 0)
{
aa++;
if(aa > 20)
{
T();
H();
for(int j = 0; j < 20; j++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
}
}
}
J = I;
F = E;
aQ = aO;
aR = aP;
}
public void Q()
{
for(int i = 0; i < 20; i++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
double d3 = 10D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
}
}
public void x()
{
super.x();
G = H;
H = 0.0F;
}
public void a(double d, double d1, double d2, float f,
float f1, int i)
{
ba = 0.0F;
al = d;
am = d1;
an = d2;
ao = f;
ap = f1;
ak = i;
}
public void q_()
{
super.q_();
m();
double d = aI - aF;
double d1 = aK - aH;
float f = gq.a(d * d + d1 * d1);
float f1 = E;
float f2 = 0.0F;
G = H;
float f3 = 0.0F;
if(f > 0.05F)
{
f3 = 1.0F;
f2 = f * 3F;
f1 = ((float)Math.atan2(d1, d) * 180F) / 3.141593F - 90F;
}
if(U > 0.0F)
f1 = aO;
if(!aT)
f3 = 0.0F;
H = H + (f3 - H) * 0.3F;
float f4;
for(f4 = f1 - E; f4 < -180F; f4 += 360F);
for(; f4 >= 180F; f4 -= 360F);
E += f4 * 0.3F;
float f5;
for(f5 = aO - E; f5 < -180F; f5 += 360F);
for(; f5 >= 180F; f5 -= 360F);
boolean flag = f5 < -90F || f5 >= 90F;
if(f5 < -75F)
f5 = -75F;
if(f5 >= 75F)
f5 = 75F;
E = aO - f5;
if(f5 * f5 > 2500F)
E += f5 * 0.2F;
if(flag)
f2 *= -1F;
for(; aO - aQ < -180F; aQ -= 360F);
for(; aO - aQ >= 180F; aQ += 360F);
for(; E - F < -180F; F -= 360F);
for(; E - F >= 180F; F += 360F);
for(; aP - aR < -180F; aR -= 360F);
for(; aP - aR >= 180F; aR += 360F);
I += f2;
}
protected void a(float f, float f1)
{
super.a(f, f1);
}
public void c(int i)
{
if(V <= 0)
return;
V += i;
if(V > 20)
V = 20;
bv = B / 2;
}
public boolean a(om entity, int i)
{
if(aE.t)
return false;
as = 0;
if(V <= 0)
return false;
ai = 1.5F;
boolean flag = true;
if((float)bv > (float)B / 2.0F)
{
if(i <= ar)
return false;
b(i - ar);
ar = i;
flag = false;
} else
{
ar = i;
W = V;
bv = B;
b(i);
X = Y = 10;
}
Z = 0.0F;
if(flag)
{
aE.a(this, (byte)2);
Z();
if(entity != null)
{
double d = entity.aI - aI;
double d1;
for(d1 = entity.aK - aK; d * d + d1 * d1 < 0.0001D; d1 = (Math.random() - Math.random()) * 0.01D)
d = (Math.random() - Math.random()) * 0.01D;
Z = (float)((Math.atan2(d1, d) * 180D) / 3.1415927410125732D) - aO;
a(entity, i, d, d1);
} else
{
Z = (int)(Math.random() * 2D) * 180;
}
}
if(V <= 0)
{
if(flag)
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
b(entity);
} else
if(flag)
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
return true;
}
public void h()
{
X = Y = 10;
Z = 0.0F;
}
protected void b(int i)
{
V -= i;
}
protected float j()
{
return 1.0F;
}
protected String f()
{
return null;
}
protected String g()
{
return "random.hurt";
}
protected String h_()
{
return "random.hurt";
}
public void a(om entity, int i, double d, double d1)
{
float f = gq.a(d * d + d1 * d1);
float f1 = fKnockBack;
fKnockBack = 0.4F;
aL /= 2D;
aM /= 2D;
aN /= 2D;
aL -= (d / (double)f) * (double)f1;
aM += 0.40000000596046448D;
aN -= (d1 / (double)f) * (double)f1;
if(aM > 0.40000000596046448D)
aM = 0.40000000596046448D;
}
public void b(om entity)
{
if(Q > 0 && entity != null)
entity.c(this, Q);
ae = true;
if(!aE.t)
o();
aE.a(this, (byte)3);
}
protected void o()
{
int i = i();
if(i > 0)
{
int j = bp.nextInt(3);
for(int k = 0; k < j; k++)
b(i, 1);
}
}
protected int i()
{
return 0;
}
protected void c(float f)
{
int i = (int)Math.ceil(f - 3F);
if(i > 0)
{
a(((om) (null)), i);
int j = aE.a(gq.b(aI), gq.b(aJ - 0.20000000298023224D - (double)ba), gq.b(aK));
if(j > 0)
{
bu stepsound = qk.m[j].bt;
aE.a(this, stepsound.d(), stepsound.b() * 0.5F, stepsound.c() * 0.75F);
}
}
}
public void b(float f, float f1)
{
if(j_())
{
double d = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.80000001192092896D;
aM *= 0.80000001192092896D;
aN *= 0.80000001192092896D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d, aN))
aM = 0.30000001192092896D;
} else
if(Y())
{
double d1 = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.5D;
aM *= 0.5D;
aN *= 0.5D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d1, aN))
aM = 0.30000001192092896D;
} else
{
float f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int i = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(i > 0)
f2 = qk.m[i].bw * 0.91F;
}
float f3 = 0.1627714F / (f2 * f2 * f2);
a(f, f1, aT ? 0.1F * f3 : 0.02F);
f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int j = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(j > 0)
f2 = qk.m[j].bw * 0.91F;
}
if(n())
{
bg = 0.0F;
if(aM < -0.14999999999999999D)
aM = -0.14999999999999999D;
}
b(aL, aM, aN);
if(aU && n())
aM = 0.20000000000000001D;
aM -= 0.080000000000000002D;
aM *= 0.98000001907348633D;
aL *= f2;
aN *= f2;
}
ah = ai;
double d2 = aI - aF;
double d3 = aK - aH;
float f4 = gq.a(d2 * d2 + d3 * d3) * 4F;
if(f4 > 1.0F)
f4 = 1.0F;
ai += (f4 - ai) * 0.4F;
aj += ai;
}
public boolean n()
{
int i = gq.b(aI);
int j = gq.b(aS.:cool.gif:;
int k = gq.b(aK);
return aE.a(i, j, k) == qk.aF.bk || aE.a(i, j + 1, k) == qk.aF.bk;
}
public void a(ks nbttagcompound)
{
nbttagcompound.a("Health", (short)V);
nbttagcompound.a("HurtTime", (short)X);
nbttagcompound.a("DeathTime", (short)aa);
nbttagcompound.a("AttackTime", (short)ab);
}
public void b(ks nbttagcompound)
{
V = nbttagcompound.d("Health");
if(!nbttagcompound.b("Health"))
V = 10;
X = nbttagcompound.d("HurtTime");
aa = nbttagcompound.d("DeathTime");
ab = nbttagcompound.d("AttackTime");
}
public boolean R()
{
return !aZ && V > 0;
}
public boolean c_()
{
return false;
}
public void m()
{
if(ak > 0)
{
double d = aI + (al - aI) / (double)ak;
double d1 = aJ + (am - aJ) / (double)ak;
double d2 = aK + (an - aK) / (double)ak;
double d3;
for(d3 = ao - (double)aO; d3 < -180D; d3 += 360D);
for(; d3 >= 180D; d3 -= 360D);
aO += d3 / (double)ak;
aP += (ap - (double)aP) / (double)ak;
ak--;
c(d, d1, d2);
c(aO, aP);
}
if(v())
{
aw = false;
at = 0.0F;
au = 0.0F;
av = 0.0F;
} else
if(!S)
d_();
boolean flag = j_();
boolean flag1 = Y();
if(aw)
if(flag)
aM += 0.039999999105930328D;
else
if(flag1)
aM += 0.039999999105930328D;
else
if(aT)
S();
at *= 0.98F;
au *= 0.98F;
av *= 0.9F;
b(at, au);
List list = aE.b(this, aS.b(0.20000000298023224D, 0.0D, 0.20000000298023224D));
if(list != null && list.size() > 0)
{
for(int i = 0; i < list.size(); i++)
{
om entity = (om)list.get(i);
if(entity.g_())
entity.h(this);
}
}
}
protected boolean v()
{
return V <= 0;
}
protected void S()
{
aM = 0.41999998688697815D;
}
protected void d_()
{
as++;
fd entityplayer = aE.a(this, -1D);
if(entityplayer != null)
{
double d = ((om) (entityplayer)).aI - aI;
double d1 = ((om) (entityplayer)).aJ - aJ;
double d2 = ((om) (entityplayer)).aK - aK;
double d3 = d * d + d1 * d1 + d2 * d2;
if(d3 > 16384D)
H();
if(as > 600 && bp.nextInt(800) == 0)
if(d3 < 1024D)
as = 0;
else
H();
}
at = 0.0F;
au = 0.0F;
float f = 8F;
if(bp.nextFloat() < 0.02F)
{
fd entityplayer1 = aE.a(this, f);
if(entityplayer1 != null)
{
b = entityplayer1;
c = 10 + bp.nextInt(20);
} else
{
av = (bp.nextFloat() - 0.5F) * 20F;
}
}
if(b != null)
{
b(b, 10F);
if(c-- <= 0 || b.aZ || b.g(this) > (double)(f * f))
b = null;
} else
{
if(bp.nextFloat() < 0.05F)
av = (bp.nextFloat() - 0.5F) * 20F;
aO += av;
aP = ax;
}
boolean flag = j_();
boolean flag1 = Y();
if(flag || flag1)
aw = bp.nextFloat() < 0.8F;
}
public void b(om entity, float f)
{
double d = entity.aI - aI;
double d2 = entity.aK - aK;
double d1;
if(entity instanceof iz)
{
iz entityliving = (iz)entity;
d1 = (entityliving.aJ + (double)entityliving.B()) - (aJ + (double)B());
} else
{
d1 = (entity.aS.b + entity.aS.e) / 2D - (aJ + (double)B());
}
double d3 = gq.a(d * d + d2 * d2);
float f1 = (float)((Math.atan2(d2, d) * 180D) / 3.1415927410125732D) - 90F;
float f2 = (float)((Math.atan2(d1, d3) * 180D) / 3.1415927410125732D);
aP = -b(aP, f2, f);
aO = b(aO, f1, f);
}
private float b(float f, float f1, float f2)
{
float f3;
for(f3 = f1 - f; f3 < -180F; f3 += 360F);
for(; f3 >= 180F; f3 -= 360F);
if(f3 > f2)
f3 = f2;
if(f3 < -f2)
f3 = -f2;
return f + f3;
}
public void T()
{
}
public boolean c()
{
return aE.a(aS) && aE.a(this, aS).size() == 0 && !aE.b(aS);
}
protected void U()
{
a(((om) (null)), 4);
}
public float d(float f)
{
float f1 = U - T;
if(f1 < 0.0F)
f1++;
return T + f1 * f;
}
public ay e(float f)
{
if(f == 1.0F)
{
return ay.b(aI, aJ, aK);
} else
{
double d = aF + (aI - aF) * (double)f;
double d1 = aG + (aJ - aG) * (double)f;
double d2 = aH + (aK - aH) * (double)f;
return ay.b(d, d1, d2);
}
}
public ay V()
{
return f(1.0F);
}
public ay f(float f)
{
if(f == 1.0F)
{
float f1 = gq.b(-aO * 0.01745329F - 3.141593F);
float f3 = gq.a(-aO * 0.01745329F - 3.141593F);
float f5 = -gq.b(-aP * 0.01745329F);
float f7 = gq.a(-aP * 0.01745329F);
return ay.b(f3 * f5, f7, f1 * f5);
} else
{
float f2 = aR + (aP - aR) * f;
float f4 = aQ + (aO - aQ) * f;
float f6 = gq.b(-f4 * 0.01745329F - 3.141593F);
float f8 = gq.a(-f4 * 0.01745329F - 3.141593F);
float f9 = -gq.b(-f2 * 0.01745329F);
float f10 = gq.a(-f2 * 0.01745329F);
return ay.b(f8 * f9, f10, f6 * f9);
}
}
public qu a(double d, float f)
{
ay vec3d = e(f);
ay vec3d1 = f(f);
ay vec3d2 = vec3d.c(vec3d1.a * d, vec3d1.b * d, vec3d1.c * d);
return aE.a(vec3d, vec3d2);
}
public int k()
{
return 4;
}
public gz o_()
{
return null;
}
public void a(byte byte0)
{
if(byte0 == 2)
{
ai = 1.5F;
bv = B;
X = Y = 10;
Z = 0.0F;
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
a(((om) (null)), 0);
} else
if(byte0 == 3)
{
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
V = 0;
b(((om) (null)));
} else
{
super.a(byte0);
}
}
public boolean K()
{
return false;
}
public float fKnockBack;
public int B;
public float C;
public float D;
public float E;
public float F;
protected float G;
protected float H;
protected float I;
protected float J;
protected boolean K;
protected String L;
protected boolean M;
protected float N;
protected String O;
protected float P;
protected int Q;
protected float R;
public boolean S;
public float T;
public float U;
public int V;
public int W;
private int a;
public int X;
public int Y;
public float Z;
public int aa;
public int ab;
public float ac;
public float ad;
protected boolean ae;
public int af;
public float ag;
public float ah;
public float ai;
public float aj;
protected int ak;
protected double al;
protected double am;
protected double an;
protected double ao;
protected double ap;
float aq;
protected int ar;
protected int as;
protected float at;
protected float au;
protected float av;
protected boolean aw;
protected float ax;
protected float ay;
private om b;
private int c;
}
As you can see, the only thing I need to do to make Balkons IZ class and SDK's IZ class go together is add the following to SDK's IZ.class
fKnockBack = 0.4F;
float f1 = fKnockBack;
fKnockBack = 0.4F;
public float fKnockBack;
After doing so I get an error when Re-compiling:
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:94: float cannot be dereferenced
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:94: float cannot be dereferenced
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:659: incompatible types
found : ay
required: fd
fd entityplayer1 = aE.a(this, f);
^
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:745: float cannot be dereferenced
return ay.b(aI, aJ, aK);
^
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:751: float cannot be dereferenced
return ay.b(d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:768: float cannot be dereferenced
return ay.b(f3 * f5, f7, f1 * f5);
^
C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java:777: float cannot be dereferenced
return ay.b(f8 * f9, f10, f6 * f9);
^
Note: C:\DOCUME~1\Case\Desktop\mine\MINECR~1\bin\iz.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
7 errors
At this point I'm dumbfounded, I merged it perfectly, but yet get an error?
Help would be appreciated!
Hello everyone, I'm trying to merge a simple .class, the IZ class of Balkons Weapon mod and SDK's weapon mod. I noticed there is only a few lines from the Weaponmod .class that I need to add to the SDK .class file. I carefully examined both the files, compared them to each other and combined them manually. I did it RIGHT, however using the DJ Decompiler to re-compile the .class file, I have 100 errors. Here is the .class files, and the modded one. They are .java now because I de-compiled them.
SDK:
public abstract class iz extends om
{
public iz(dt world)
{
super(world);
B = 20;
E = 0.0F;
F = 0.0F;
K = true;
L = "/mob/char.png";
M = true;
N = 0.0F;
O = null;
P = 1.0F;
Q = 0;
R = 0.0F;
S = false;
Z = 0.0F;
aa = 0;
ab = 0;
ae = false;
af = -1;
ag = (float)(Math.random() * 0.89999997615814209D + 0.10000000149011612D);
aq = 0.0F;
ar = 0;
as = 0;
aw = false;
ax = 0.0F;
ay = 0.7F;
c = 0;
V = 10;
aB = true;
D = (float)(Math.random() + 1.0D) * 0.01F;
c(aI, aJ, aK);
C = (float)Math.random() * 12398F;
aO = (float)(Math.random() * 3.1415927410125732D * 2D);
bl = 0.5F;
}
public boolean a(double d)
{
return true;
}
public float a(float f)
{
if(!sdkUtilityNotFound)
try
{
if(sdkUtilityNightvisionEnabled == null)
{
Class sdkUtility;
try
{
sdkUtility = Class.forName("mod_SdkUtility");
}
catch(Exception e)
{
sdkUtility = Class.forName("net.minecraft.src.mod_SdkUtility");
}
sdkUtilityNightvisionEnabled = sdkUtility.getDeclaredMethod("nightvisionEnabled", new Class[0]);
}
if(((Boolean)sdkUtilityNightvisionEnabled.invoke(null, (Object[])null)).booleanValue())
return 2.0F;
}
catch(Exception e)
{
System.out.println("mod_SdkUtility not found in EntityLiving. Ignore this exception if you do not have it installed.");
e.printStackTrace();
sdkUtilityNotFound = true;
}
return super.a(f);
}
protected void b()
{
}
public boolean e(om entity)
{
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
}
public String N()
{
return L;
}
public boolean f_()
{
return !aZ;
}
public boolean g_()
{
return !aZ;
}
public float B()
{
return bc * 0.85F;
}
public int d()
{
return 80;
}
public void O()
{
String s = f();
if(s != null)
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
}
public void P()
{
T = U;
super.P();
if(bp.nextInt(1000) < a++)
{
a = -d();
O();
}
if(R() && I())
a(((om) (null)), 1);
if(bz || aE.t)
bs = 0;
if(R() && a(iu.f) && !c_())
{
bw--;
if(bw == -20)
{
bw = 0;
for(int i = 0; i < 8; i++)
{
float f = bp.nextFloat() - bp.nextFloat();
float f1 = bp.nextFloat() - bp.nextFloat();
float f2 = bp.nextFloat() - bp.nextFloat();
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
}
a(((om) (null)), 2);
}
bs = 0;
} else
{
bw = bt;
}
ac = ad;
if(ab > 0)
ab--;
if(X > 0)
X--;
if(bv > 0)
bv--;
if(V <= 0)
{
aa++;
if(aa > 20)
{
T();
H();
for(int j = 0; j < 20; j++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
}
}
}
J = I;
F = E;
aQ = aO;
aR = aP;
}
public void Q()
{
for(int i = 0; i < 20; i++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
double d3 = 10D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
}
}
public void x()
{
super.x();
G = H;
H = 0.0F;
}
public void a(double d, double d1, double d2, float f,
float f1, int i)
{
ba = 0.0F;
al = d;
am = d1;
an = d2;
ao = f;
ap = f1;
ak = i;
}
public void q_()
{
super.q_();
m();
double d = aI - aF;
double d1 = aK - aH;
float f = gq.a(d * d + d1 * d1);
float f1 = E;
float f2 = 0.0F;
G = H;
float f3 = 0.0F;
if(f > 0.05F)
{
f3 = 1.0F;
f2 = f * 3F;
f1 = ((float)Math.atan2(d1, d) * 180F) / 3.141593F - 90F;
}
if(U > 0.0F)
f1 = aO;
if(!aT)
f3 = 0.0F;
H = H + (f3 - H) * 0.3F;
float f4;
for(f4 = f1 - E; f4 < -180F; f4 += 360F);
for(; f4 >= 180F; f4 -= 360F);
E += f4 * 0.3F;
float f5;
for(f5 = aO - E; f5 < -180F; f5 += 360F);
for(; f5 >= 180F; f5 -= 360F);
boolean flag = f5 < -90F || f5 >= 90F;
if(f5 < -75F)
f5 = -75F;
if(f5 >= 75F)
f5 = 75F;
E = aO - f5;
if(f5 * f5 > 2500F)
E += f5 * 0.2F;
if(flag)
f2 *= -1F;
for(; aO - aQ < -180F; aQ -= 360F);
for(; aO - aQ >= 180F; aQ += 360F);
for(; E - F < -180F; F -= 360F);
for(; E - F >= 180F; F += 360F);
for(; aP - aR < -180F; aR -= 360F);
for(; aP - aR >= 180F; aR += 360F);
I += f2;
}
protected void a(float f, float f1)
{
super.a(f, f1);
}
public void c(int i)
{
if(V <= 0)
return;
V += i;
if(V > 20)
V = 20;
bv = B / 2;
}
public boolean a(om entity, int i)
{
return attackEntityFrom2(entity, i, false);
}
public boolean attackEntityFrom2(om entity, int i, boolean moreDamageOverride)
{
if(aE.t)
return false;
as = 0;
if(V <= 0)
return false;
ai = 1.5F;
boolean flag = true;
if((float)bv > (float)B / 2.0F)
{
if(moreDamageOverride)
{
b(i);
ar = i;
flag = false;
} else
{
if(i <= ar)
return false;
b(i - ar);
ar = i;
flag = false;
}
} else
{
ar = i;
W = V;
bv = B;
b(i);
X = Y = 10;
}
Z = 0.0F;
if(flag)
{
aE.a(this, (byte)2);
Z();
if(entity != null)
{
double d = entity.aI - aI;
double d1;
for(d1 = entity.aK - aK; d * d + d1 * d1 < 0.0001D; d1 = (Math.random() - Math.random()) * 0.01D)
d = (Math.random() - Math.random()) * 0.01D;
Z = (float)((Math.atan2(d1, d) * 180D) / 3.1415927410125732D) - aO;
a(entity, i, d, d1);
} else
{
Z = (int)(Math.random() * 2D) * 180;
}
}
if(V <= 0)
{
if(flag)
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
b(entity);
} else
if(flag)
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
return true;
}
public void h()
{
X = Y = 10;
Z = 0.0F;
}
protected void b(int i)
{
V -= i;
}
protected float j()
{
return 1.0F;
}
protected String f()
{
return null;
}
protected String g()
{
return "random.hurt";
}
protected String h_()
{
return "random.hurt";
}
public void a(om entity, int i, double d, double d1)
{
float f = gq.a(d * d + d1 * d1);
float f1 = 0.4F;
aL /= 2D;
aM /= 2D;
aN /= 2D;
aL -= (d / (double)f) * (double)f1;
aM += 0.40000000596046448D;
aN -= (d1 / (double)f) * (double)f1;
if(aM > 0.40000000596046448D)
aM = 0.40000000596046448D;
}
public void b(om entity)
{
if(Q > 0 && entity != null)
entity.c(this, Q);
ae = true;
if(!aE.t)
o();
aE.a(this, (byte)3);
}
protected void o()
{
int i = i();
if(i > 0)
{
int j = bp.nextInt(3);
for(int k = 0; k < j; k++)
b(i, 1);
}
}
protected int i()
{
return 0;
}
protected void c(float f)
{
int i = (int)Math.ceil(f - 3F);
if(i > 0)
{
a(((om) (null)), i);
int j = aE.a(gq.b(aI), gq.b(aJ - 0.20000000298023224D - (double)ba), gq.b(aK));
if(j > 0)
{
bu stepsound = qk.m[j].bt;
aE.a(this, stepsound.d(), stepsound.b() * 0.5F, stepsound.c() * 0.75F);
}
}
}
public void b(float f, float f1)
{
if(j_())
{
double d = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.80000001192092896D;
aM *= 0.80000001192092896D;
aN *= 0.80000001192092896D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d, aN))
aM = 0.30000001192092896D;
} else
if(Y())
{
double d1 = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.5D;
aM *= 0.5D;
aN *= 0.5D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d1, aN))
aM = 0.30000001192092896D;
} else
{
float f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int i = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(i > 0)
f2 = qk.m[i].bw * 0.91F;
}
float f3 = 0.1627714F / (f2 * f2 * f2);
a(f, f1, aT ? 0.1F * f3 : 0.02F);
f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int j = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(j > 0)
f2 = qk.m[j].bw * 0.91F;
}
if(n())
{
bg = 0.0F;
if(aM < -0.14999999999999999D)
aM = -0.14999999999999999D;
}
b(aL, aM, aN);
if(aU && n())
aM = 0.20000000000000001D;
aM -= 0.080000000000000002D;
aM *= 0.98000001907348633D;
aL *= f2;
aN *= f2;
}
ah = ai;
double d2 = aI - aF;
double d3 = aK - aH;
float f4 = gq.a(d2 * d2 + d3 * d3) * 4F;
if(f4 > 1.0F)
f4 = 1.0F;
ai += (f4 - ai) * 0.4F;
aj += ai;
}
public boolean n()
{
int i = gq.b(aI);
int j = gq.b(aS.:cool.gif:;
int k = gq.b(aK);
if(!sdkGrapplingHookNotFound)
try
{
if(sdkBlockRopeId == -1)
{
Class sdkGrapplingHook;
try
{
sdkGrapplingHook = Class.forName("mod_SdkGrapplingHook");
}
catch(Exception e)
{
sdkGrapplingHook = Class.forName("net.minecraft.src.mod_SdkGrapplingHook");
}
Field sdkBlockRope = sdkGrapplingHook.getDeclaredField("blockRope");
sdkBlockRopeId = ((qk)sdkBlockRope.get(null)).bk;
}
return aE.a(i, j, k) == qk.aF.bk || aE.a(i, j + 1, k) == qk.aF.bk || aE.a(i, j, k) == sdkBlockRopeId || aE.a(i, j + 1, k) == sdkBlockRopeId;
}
catch(Exception e)
{
System.out.println("mod_SdkGrapplingHook not found in EntityLiving. Ignore this exception if you do not have it installed.");
e.printStackTrace();
sdkGrapplingHookNotFound = true;
}
return aE.a(i, j, k) == qk.aF.bk || aE.a(i, j + 1, k) == qk.aF.bk;
}
public void a(ks nbttagcompound)
{
nbttagcompound.a("Health", (short)V);
nbttagcompound.a("HurtTime", (short)X);
nbttagcompound.a("DeathTime", (short)aa);
nbttagcompound.a("AttackTime", (short)ab);
}
public void b(ks nbttagcompound)
{
V = nbttagcompound.d("Health");
if(!nbttagcompound.b("Health"))
V = 10;
X = nbttagcompound.d("HurtTime");
aa = nbttagcompound.d("DeathTime");
ab = nbttagcompound.d("AttackTime");
}
public boolean R()
{
return !aZ && V > 0;
}
public boolean c_()
{
return false;
}
public void m()
{
if(ak > 0)
{
double d = aI + (al - aI) / (double)ak;
double d1 = aJ + (am - aJ) / (double)ak;
double d2 = aK + (an - aK) / (double)ak;
double d3;
for(d3 = ao - (double)aO; d3 < -180D; d3 += 360D);
for(; d3 >= 180D; d3 -= 360D);
aO += d3 / (double)ak;
aP += (ap - (double)aP) / (double)ak;
ak--;
c(d, d1, d2);
c(aO, aP);
}
if(v())
{
aw = false;
at = 0.0F;
au = 0.0F;
av = 0.0F;
} else
if(!S)
d_();
boolean flag = j_();
boolean flag1 = Y();
if(aw)
if(flag)
aM += 0.039999999105930328D;
else
if(flag1)
aM += 0.039999999105930328D;
else
if(aT)
S();
at *= 0.98F;
au *= 0.98F;
av *= 0.9F;
b(at, au);
List list = aE.b(this, aS.b(0.20000000298023224D, 0.0D, 0.20000000298023224D));
if(list != null && list.size() > 0)
{
for(int i = 0; i < list.size(); i++)
{
om entity = (om)list.get(i);
if(entity.g_())
entity.h(this);
}
}
}
protected boolean v()
{
return V <= 0;
}
protected void S()
{
aM = 0.41999998688697815D;
}
protected void d_()
{
as++;
fd entityplayer = aE.a(this, -1D);
if(entityplayer != null)
{
double d = ((om) (entityplayer)).aI - aI;
double d1 = ((om) (entityplayer)).aJ - aJ;
double d2 = ((om) (entityplayer)).aK - aK;
double d3 = d * d + d1 * d1 + d2 * d2;
if(d3 > 16384D)
H();
if(as > 600 && bp.nextInt(800) == 0)
if(d3 < 1024D)
as = 0;
else
H();
}
at = 0.0F;
au = 0.0F;
float f = 8F;
if(bp.nextFloat() < 0.02F)
{
fd entityplayer1 = aE.a(this, f);
if(entityplayer1 != null)
{
b = entityplayer1;
c = 10 + bp.nextInt(20);
} else
{
av = (bp.nextFloat() - 0.5F) * 20F;
}
}
if(b != null)
{
b(b, 10F);
if(c-- <= 0 || b.aZ || b.g(this) > (double)(f * f))
b = null;
} else
{
if(bp.nextFloat() < 0.05F)
av = (bp.nextFloat() - 0.5F) * 20F;
aO += av;
aP = ax;
}
boolean flag = j_();
boolean flag1 = Y();
if(flag || flag1)
aw = bp.nextFloat() < 0.8F;
}
public void b(om entity, float f)
{
double d = entity.aI - aI;
double d2 = entity.aK - aK;
double d1;
if(entity instanceof iz)
{
iz entityliving = (iz)entity;
d1 = (entityliving.aJ + (double)entityliving.B()) - (aJ + (double)B());
} else
{
d1 = (entity.aS.b + entity.aS.e) / 2D - (aJ + (double)B());
}
double d3 = gq.a(d * d + d2 * d2);
float f1 = (float)((Math.atan2(d2, d) * 180D) / 3.1415927410125732D) - 90F;
float f2 = (float)((Math.atan2(d1, d3) * 180D) / 3.1415927410125732D);
aP = -b(aP, f2, f);
aO = b(aO, f1, f);
}
private float b(float f, float f1, float f2)
{
float f3;
for(f3 = f1 - f; f3 < -180F; f3 += 360F);
for(; f3 >= 180F; f3 -= 360F);
if(f3 > f2)
f3 = f2;
if(f3 < -f2)
f3 = -f2;
return f + f3;
}
public void T()
{
}
public boolean c()
{
return aE.a(aS) && aE.a(this, aS).size() == 0 && !aE.b(aS);
}
protected void U()
{
a(((om) (null)), 4);
}
public float d(float f)
{
float f1 = U - T;
if(f1 < 0.0F)
f1++;
return T + f1 * f;
}
public ay e(float f)
{
if(f == 1.0F)
{
return ay.b(aI, aJ, aK);
} else
{
double d = aF + (aI - aF) * (double)f;
double d1 = aG + (aJ - aG) * (double)f;
double d2 = aH + (aK - aH) * (double)f;
return ay.b(d, d1, d2);
}
}
public ay V()
{
return f(1.0F);
}
public ay f(float f)
{
if(f == 1.0F)
{
float f1 = gq.b(-aO * 0.01745329F - 3.141593F);
float f3 = gq.a(-aO * 0.01745329F - 3.141593F);
float f5 = -gq.b(-aP * 0.01745329F);
float f7 = gq.a(-aP * 0.01745329F);
return ay.b(f3 * f5, f7, f1 * f5);
} else
{
float f2 = aR + (aP - aR) * f;
float f4 = aQ + (aO - aQ) * f;
float f6 = gq.b(-f4 * 0.01745329F - 3.141593F);
float f8 = gq.a(-f4 * 0.01745329F - 3.141593F);
float f9 = -gq.b(-f2 * 0.01745329F);
float f10 = gq.a(-f2 * 0.01745329F);
return ay.b(f8 * f9, f10, f6 * f9);
}
}
public qu a(double d, float f)
{
ay vec3d = e(f);
ay vec3d1 = f(f);
ay vec3d2 = vec3d.c(vec3d1.a * d, vec3d1.b * d, vec3d1.c * d);
return aE.a(vec3d, vec3d2);
}
public int k()
{
return 4;
}
public gz o_()
{
return null;
}
public void a(byte byte0)
{
if(byte0 == 2)
{
ai = 1.5F;
bv = B;
X = Y = 10;
Z = 0.0F;
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
a(((om) (null)), 0);
} else
if(byte0 == 3)
{
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
V = 0;
b(((om) (null)));
} else
{
super.a(byte0);
}
}
public boolean K()
{
return false;
}
public int B;
public float C;
public float D;
public float E;
public float F;
protected float G;
protected float H;
protected float I;
protected float J;
protected boolean K;
protected String L;
protected boolean M;
protected float N;
protected String O;
protected float P;
protected int Q;
protected float R;
public boolean S;
public float T;
public float U;
public int V;
public int W;
private int a;
public int X;
public int Y;
public float Z;
public int aa;
public int ab;
public float ac;
public float ad;
protected boolean ae;
public int af;
public float ag;
public float ah;
public float ai;
public float aj;
protected int ak;
protected double al;
protected double am;
protected double an;
protected double ao;
protected double ap;
float aq;
protected int ar;
protected int as;
protected float at;
protected float au;
protected float av;
protected boolean aw;
protected float ax;
protected float ay;
private om b;
private int c;
private static boolean sdkGrapplingHookNotFound = false;
private static int sdkBlockRopeId = -1;
private static boolean sdkUtilityNotFound = false;
private static Method sdkUtilityNightvisionEnabled = null;
}
Weaponmod:
public abstract class iz extends om
{
public iz(dt world)
{
super(world);
fKnockBack = 0.4F;
B = 20;
E = 0.0F;
F = 0.0F;
K = true;
L = "/mob/char.png";
M = true;
N = 0.0F;
O = null;
P = 1.0F;
Q = 0;
R = 0.0F;
S = false;
Z = 0.0F;
aa = 0;
ab = 0;
ae = false;
af = -1;
ag = (float)(Math.random() * 0.89999997615814209D + 0.10000000149011612D);
aq = 0.0F;
ar = 0;
as = 0;
aw = false;
ax = 0.0F;
ay = 0.7F;
c = 0;
V = 10;
aB = true;
D = (float)(Math.random() + 1.0D) * 0.01F;
c(aI, aJ, aK);
C = (float)Math.random() * 12398F;
aO = (float)(Math.random() * 3.1415927410125732D * 2D);
bl = 0.5F;
}
protected void b()
{
}
public boolean e(om entity)
{
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
}
public String N()
{
return L;
}
public boolean f_()
{
return !aZ;
}
public boolean g_()
{
return !aZ;
}
public float B()
{
return bc * 0.85F;
}
public int d()
{
return 80;
}
public void O()
{
String s = f();
if(s != null)
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
}
public void P()
{
T = U;
super.P();
if(bp.nextInt(1000) < a++)
{
a = -d();
O();
}
if(R() && I())
a(((om) (null)), 1);
if(bz || aE.t)
bs = 0;
if(R() && a(iu.f) && !c_())
{
bw--;
if(bw == -20)
{
bw = 0;
for(int i = 0; i < 8; i++)
{
float f = bp.nextFloat() - bp.nextFloat();
float f1 = bp.nextFloat() - bp.nextFloat();
float f2 = bp.nextFloat() - bp.nextFloat();
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
}
a(((om) (null)), 2);
}
bs = 0;
} else
{
bw = bt;
}
ac = ad;
if(ab > 0)
ab--;
if(X > 0)
X--;
if(bv > 0)
bv--;
if(V <= 0)
{
aa++;
if(aa > 20)
{
T();
H();
for(int j = 0; j < 20; j++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
}
}
}
J = I;
F = E;
aQ = aO;
aR = aP;
}
public void Q()
{
for(int i = 0; i < 20; i++)
{
double d = bp.nextGaussian() * 0.02D;
double d1 = bp.nextGaussian() * 0.02D;
double d2 = bp.nextGaussian() * 0.02D;
double d3 = 10D;
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
}
}
public void x()
{
super.x();
G = H;
H = 0.0F;
}
public void a(double d, double d1, double d2, float f,
float f1, int i)
{
ba = 0.0F;
al = d;
am = d1;
an = d2;
ao = f;
ap = f1;
ak = i;
}
public void q_()
{
super.q_();
m();
double d = aI - aF;
double d1 = aK - aH;
float f = gq.a(d * d + d1 * d1);
float f1 = E;
float f2 = 0.0F;
G = H;
float f3 = 0.0F;
if(f > 0.05F)
{
f3 = 1.0F;
f2 = f * 3F;
f1 = ((float)Math.atan2(d1, d) * 180F) / 3.141593F - 90F;
}
if(U > 0.0F)
f1 = aO;
if(!aT)
f3 = 0.0F;
H = H + (f3 - H) * 0.3F;
float f4;
for(f4 = f1 - E; f4 < -180F; f4 += 360F);
for(; f4 >= 180F; f4 -= 360F);
E += f4 * 0.3F;
float f5;
for(f5 = aO - E; f5 < -180F; f5 += 360F);
for(; f5 >= 180F; f5 -= 360F);
boolean flag = f5 < -90F || f5 >= 90F;
if(f5 < -75F)
f5 = -75F;
if(f5 >= 75F)
f5 = 75F;
E = aO - f5;
if(f5 * f5 > 2500F)
E += f5 * 0.2F;
if(flag)
f2 *= -1F;
for(; aO - aQ < -180F; aQ -= 360F);
for(; aO - aQ >= 180F; aQ += 360F);
for(; E - F < -180F; F -= 360F);
for(; E - F >= 180F; F += 360F);
for(; aP - aR < -180F; aR -= 360F);
for(; aP - aR >= 180F; aR += 360F);
I += f2;
}
protected void a(float f, float f1)
{
super.a(f, f1);
}
public void c(int i)
{
if(V <= 0)
return;
V += i;
if(V > 20)
V = 20;
bv = B / 2;
}
public boolean a(om entity, int i)
{
if(aE.t)
return false;
as = 0;
if(V <= 0)
return false;
ai = 1.5F;
boolean flag = true;
if((float)bv > (float)B / 2.0F)
{
if(i <= ar)
return false;
b(i - ar);
ar = i;
flag = false;
} else
{
ar = i;
W = V;
bv = B;
b(i);
X = Y = 10;
}
Z = 0.0F;
if(flag)
{
aE.a(this, (byte)2);
Z();
if(entity != null)
{
double d = entity.aI - aI;
double d1;
for(d1 = entity.aK - aK; d * d + d1 * d1 < 0.0001D; d1 = (Math.random() - Math.random()) * 0.01D)
d = (Math.random() - Math.random()) * 0.01D;
Z = (float)((Math.atan2(d1, d) * 180D) / 3.1415927410125732D) - aO;
a(entity, i, d, d1);
} else
{
Z = (int)(Math.random() * 2D) * 180;
}
}
if(V <= 0)
{
if(flag)
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
b(entity);
} else
if(flag)
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
return true;
}
public void h()
{
X = Y = 10;
Z = 0.0F;
}
protected void b(int i)
{
V -= i;
}
protected float j()
{
return 1.0F;
}
protected String f()
{
return null;
}
protected String g()
{
return "random.hurt";
}
protected String h_()
{
return "random.hurt";
}
public void a(om entity, int i, double d, double d1)
{
float f = gq.a(d * d + d1 * d1);
float f1 = fKnockBack;
fKnockBack = 0.4F;
aL /= 2D;
aM /= 2D;
aN /= 2D;
aL -= (d / (double)f) * (double)f1;
aM += 0.40000000596046448D;
aN -= (d1 / (double)f) * (double)f1;
if(aM > 0.40000000596046448D)
aM = 0.40000000596046448D;
}
public void b(om entity)
{
if(Q > 0 && entity != null)
entity.c(this, Q);
ae = true;
if(!aE.t)
o();
aE.a(this, (byte)3);
}
protected void o()
{
int i = i();
if(i > 0)
{
int j = bp.nextInt(3);
for(int k = 0; k < j; k++)
b(i, 1);
}
}
protected int i()
{
return 0;
}
protected void c(float f)
{
int i = (int)Math.ceil(f - 3F);
if(i > 0)
{
a(((om) (null)), i);
int j = aE.a(gq.b(aI), gq.b(aJ - 0.20000000298023224D - (double)ba), gq.b(aK));
if(j > 0)
{
bu stepsound = qk.m[j].bt;
aE.a(this, stepsound.d(), stepsound.b() * 0.5F, stepsound.c() * 0.75F);
}
}
}
public void b(float f, float f1)
{
if(j_())
{
double d = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.80000001192092896D;
aM *= 0.80000001192092896D;
aN *= 0.80000001192092896D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d, aN))
aM = 0.30000001192092896D;
} else
if(Y())
{
double d1 = aJ;
a(f, f1, 0.02F);
b(aL, aM, aN);
aL *= 0.5D;
aM *= 0.5D;
aN *= 0.5D;
aM -= 0.02D;
if(aU && d(aL, ((aM + 0.60000002384185791D) - aJ) + d1, aN))
aM = 0.30000001192092896D;
} else
{
float f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int i = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(i > 0)
f2 = qk.m[i].bw * 0.91F;
}
float f3 = 0.1627714F / (f2 * f2 * f2);
a(f, f1, aT ? 0.1F * f3 : 0.02F);
f2 = 0.91F;
if(aT)
{
f2 = 0.5460001F;
int j = aE.a(gq.b(aI), gq.b(aS.:cool.gif: - 1, gq.b(aK));
if(j > 0)
f2 = qk.m[j].bw * 0.91F;
}
if(n())
{
bg = 0.0F;
if(aM < -0.14999999999999999D)
aM = -0.14999999999999999D;
}
b(aL, aM, aN);
if(aU && n())
aM = 0.20000000000000001D;
aM -= 0.080000000000000002D;
aM *= 0.98000001907348633D;
aL *= f2;
aN *= f2;
}
ah = ai;
double d2 = aI - aF;
double d3 = aK - aH;
float f4 = gq.a(d2 * d2 + d3 * d3) * 4F;
if(f4 > 1.0F)
f4 = 1.0F;
ai += (f4 - ai) * 0.4F;
aj += ai;
}
public boolean n()
{
int i = gq.b(aI);
int j = gq.b(aS.:cool.gif:;
int k = gq.b(aK);
return aE.a(i, j, k) == qk.aF.bk || aE.a(i, j + 1, k) == qk.aF.bk;
}
public void a(ks nbttagcompound)
{
nbttagcompound.a("Health", (short)V);
nbttagcompound.a("HurtTime", (short)X);
nbttagcompound.a("DeathTime", (short)aa);
nbttagcompound.a("AttackTime", (short)ab);
}
public void b(ks nbttagcompound)
{
V = nbttagcompound.d("Health");
if(!nbttagcompound.b("Health"))
V = 10;
X = nbttagcompound.d("HurtTime");
aa = nbttagcompound.d("DeathTime");
ab = nbttagcompound.d("AttackTime");
}
public boolean R()
{
return !aZ && V > 0;
}
public boolean c_()
{
return false;
}
public void m()
{
if(ak > 0)
{
double d = aI + (al - aI) / (double)ak;
double d1 = aJ + (am - aJ) / (double)ak;
double d2 = aK + (an - aK) / (double)ak;
double d3;
for(d3 = ao - (double)aO; d3 < -180D; d3 += 360D);
for(; d3 >= 180D; d3 -= 360D);
aO += d3 / (double)ak;
aP += (ap - (double)aP) / (double)ak;
ak--;
c(d, d1, d2);
c(aO, aP);
}
if(v())
{
aw = false;
at = 0.0F;
au = 0.0F;
av = 0.0F;
} else
if(!S)
d_();
boolean flag = j_();
boolean flag1 = Y();
if(aw)
if(flag)
aM += 0.039999999105930328D;
else
if(flag1)
aM += 0.039999999105930328D;
else
if(aT)
S();
at *= 0.98F;
au *= 0.98F;
av *= 0.9F;
b(at, au);
List list = aE.b(this, aS.b(0.20000000298023224D, 0.0D, 0.20000000298023224D));
if(list != null && list.size() > 0)
{
for(int i = 0; i < list.size(); i++)
{
om entity = (om)list.get(i);
if(entity.g_())
entity.h(this);
}
}
}
protected boolean v()
{
return V <= 0;
}
protected void S()
{
aM = 0.41999998688697815D;
}
protected void d_()
{
as++;
fd entityplayer = aE.a(this, -1D);
if(entityplayer != null)
{
double d = ((om) (entityplayer)).aI - aI;
double d1 = ((om) (entityplayer)).aJ - aJ;
double d2 = ((om) (entityplayer)).aK - aK;
double d3 = d * d + d1 * d1 + d2 * d2;
if(d3 > 16384D)
H();
if(as > 600 && bp.nextInt(800) == 0)
if(d3 < 1024D)
as = 0;
else
H();
}
at = 0.0F;
au = 0.0F;
float f = 8F;
if(bp.nextFloat() < 0.02F)
{
fd entityplayer1 = aE.a(this, f);
if(entityplayer1 != null)
{
b = entityplayer1;
c = 10 + bp.nextInt(20);
} else
{
av = (bp.nextFloat() - 0.5F) * 20F;
}
}
if(b != null)
{
b(b, 10F);
if(c-- <= 0 || b.aZ || b.g(this) > (double)(f * f))
b = null;
} else
{
if(bp.nextFloat() < 0.05F)
av = (bp.nextFloat() - 0.5F) * 20F;
aO += av;
aP = ax;
}
boolean flag = j_();
boolean flag1 = Y();
if(flag || flag1)
aw = bp.nextFloat() < 0.8F;
}
public void b(om entity, float f)
{
double d = entity.aI - aI;
double d2 = entity.aK - aK;
double d1;
if(entity instanceof iz)
{
iz entityliving = (iz)entity;
d1 = (entityliving.aJ + (double)entityliving.B()) - (aJ + (double)B());
} else
{
d1 = (entity.aS.b + entity.aS.e) / 2D - (aJ + (double)B());
}
double d3 = gq.a(d * d + d2 * d2);
float f1 = (float)((Math.atan2(d2, d) * 180D) / 3.1415927410125732D) - 90F;
float f2 = (float)((Math.atan2(d1, d3) * 180D) / 3.1415927410125732D);
aP = -b(aP, f2, f);
aO = b(aO, f1, f);
}
private float b(float f, float f1, float f2)
{
float f3;
for(f3 = f1 - f; f3 < -180F; f3 += 360F);
for(; f3 >= 180F; f3 -= 360F);
if(f3 > f2)
f3 = f2;
if(f3 < -f2)
f3 = -f2;
return f + f3;
}
public void T()
{
}
public boolean c()
{
return aE.a(aS) && aE.a(this, aS).size() == 0 && !aE.b(aS);
}
protected void U()
{
a(((om) (null)), 4);
}
public float d(float f)
{
float f1 = U - T;
if(f1 < 0.0F)
f1++;
return T + f1 * f;
}
public ay e(float f)
{
if(f == 1.0F)
{
return ay.b(aI, aJ, aK);
} else
{
double d = aF + (aI - aF) * (double)f;
double d1 = aG + (aJ - aG) * (double)f;
double d2 = aH + (aK - aH) * (double)f;
return ay.b(d, d1, d2);
}
}
public ay V()
{
return f(1.0F);
}
public ay f(float f)
{
if(f == 1.0F)
{
float f1 = gq.b(-aO * 0.01745329F - 3.141593F);
float f3 = gq.a(-aO * 0.01745329F - 3.141593F);
float f5 = -gq.b(-aP * 0.01745329F);
float f7 = gq.a(-aP * 0.01745329F);
return ay.b(f3 * f5, f7, f1 * f5);
} else
{
float f2 = aR + (aP - aR) * f;
float f4 = aQ + (aO - aQ) * f;
float f6 = gq.b(-f4 * 0.01745329F - 3.141593F);
float f8 = gq.a(-f4 * 0.01745329F - 3.141593F);
float f9 = -gq.b(-f2 * 0.01745329F);
float f10 = gq.a(-f2 * 0.01745329F);
return ay.b(f8 * f9, f10, f6 * f9);
}
}
public qu a(double d, float f)
{
ay vec3d = e(f);
ay vec3d1 = f(f);
ay vec3d2 = vec3d.c(vec3d1.a * d, vec3d1.b * d, vec3d1.c * d);
return aE.a(vec3d, vec3d2);
}
public int k()
{
return 4;
}
public gz o_()
{
return null;
}
public void a(byte byte0)
{
if(byte0 == 2)
{
ai = 1.5F;
bv = B;
X = Y = 10;
Z = 0.0F;
aE.a(this, g(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
a(((om) (null)), 0);
} else
if(byte0 == 3)
{
aE.a(this, h_(), j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
V = 0;
b(((om) (null)));
} else
{
super.a(byte0);
}
}
public boolean K()
{
return false;
}
public float fKnockBack;
public int B;
public float C;
public float D;
public float E;
public float F;
protected float G;
protected float H;
protected float I;
protected float J;
protected boolean K;
protected String L;
protected boolean M;
protected float N;
protected String O;
protected float P;
protected int Q;
protected float R;
public boolean S;
public float T;
public float U;
public int V;
public int W;
private int a;
public int X;
public int Y;
public float Z;
public int aa;
public int ab;
public float ac;
public float ad;
protected boolean ae;
public int af;
public float ag;
public float ah;
public float ai;
public float aj;
protected int ak;
protected double al;
protected double am;
protected double an;
protected double ao;
protected double ap;
float aq;
protected int ar;
protected int as;
protected float at;
protected float au;
protected float av;
protected boolean aw;
protected float ax;
protected float ay;
private om b;
private int c;
}
As you can see the only thing missing from the SDK file is:
fKnockBack = 0.4F;
float f1 = fKnockBack;
fKnockBack = 0.4F;
public float fKnockBack;
I did it right, but when I try to compile to a .class file it says this in the DJ Decompiler:
C:\DOCUME~1\Case\Desktop\iz.java:7: cannot find symbol
symbol: class om
public abstract class iz extends om
^
C:\DOCUME~1\Case\Desktop\iz.java:10: cannot find symbol
symbol : class dt
location: class iz
public iz(dt world)
^
C:\DOCUME~1\Case\Desktop\iz.java:87: cannot find symbol
symbol : class om
location: class iz
public boolean e(om entity)
^
C:\DOCUME~1\Case\Desktop\iz.java:283: cannot find symbol
symbol : class om
location: class iz
public boolean a(om entity, int i)
^
C:\DOCUME~1\Case\Desktop\iz.java:288: cannot find symbol
symbol : class om
location: class iz
public boolean attackEntityFrom2(om entity, int i, boolean moreDamageOverride)
^
C:\DOCUME~1\Case\Desktop\iz.java:381: cannot find symbol
symbol : class om
location: class iz
public void a(om entity, int i, double d, double d1)
^
C:\DOCUME~1\Case\Desktop\iz.java:396: cannot find symbol
symbol : class om
location: class iz
public void b(om entity)
^
C:\DOCUME~1\Case\Desktop\iz.java:540: cannot find symbol
symbol : class ks
location: class iz
public void a(ks nbttagcompound)
^
C:\DOCUME~1\Case\Desktop\iz.java:548: cannot find symbol
symbol : class ks
location: class iz
public void b(ks nbttagcompound)
^
C:\DOCUME~1\Case\Desktop\iz.java:682: cannot find symbol
symbol : class om
location: class iz
public void b(om entity, float f)
^
C:\DOCUME~1\Case\Desktop\iz.java:736: cannot find symbol
symbol : class ay
location: class iz
public ay e(float f)
^
C:\DOCUME~1\Case\Desktop\iz.java:750: cannot find symbol
symbol : class ay
location: class iz
public ay V()
^
C:\DOCUME~1\Case\Desktop\iz.java:755: cannot find symbol
symbol : class ay
location: class iz
public ay f(float f)
^
C:\DOCUME~1\Case\Desktop\iz.java:776: cannot find symbol
symbol : class qu
location: class iz
public qu a(double d, float f)
^
C:\DOCUME~1\Case\Desktop\iz.java:789: cannot find symbol
symbol : class gz
location: class iz
public gz o_()
^
C:\DOCUME~1\Case\Desktop\iz.java:873: cannot find symbol
symbol : class om
location: class iz
private om b;
^
C:\DOCUME~1\Case\Desktop\iz.java:40: cannot find symbol
symbol : variable aB
location: class iz
aB = true;
^
C:\DOCUME~1\Case\Desktop\iz.java:42: cannot find symbol
symbol : variable aI
location: class iz
c(aI, aJ, aK);
^
C:\DOCUME~1\Case\Desktop\iz.java:42: cannot find symbol
symbol : variable aJ
location: class iz
c(aI, aJ, aK);
^
C:\DOCUME~1\Case\Desktop\iz.java:42: cannot find symbol
symbol : variable aK
location: class iz
c(aI, aJ, aK);
^
C:\DOCUME~1\Case\Desktop\iz.java:44: cannot find symbol
symbol : variable aO
location: class iz
aO = (float)(Math.random() * 3.1415927410125732D * 2D);
^
C:\DOCUME~1\Case\Desktop\iz.java:45: cannot find symbol
symbol : variable bl
location: class iz
bl = 0.5F;
^
C:\DOCUME~1\Case\Desktop\iz.java:80: cannot find symbol
symbol : variable super
location: class iz
return super.a(f);
^
C:\DOCUME~1\Case\Desktop\iz.java:89: cannot find symbol
symbol : variable aI
location: class iz
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:89: cannot find symbol
symbol : variable aJ
location: class iz
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:89: cannot find symbol
symbol : variable aK
location: class iz
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:89: float cannot be dereferenced
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:89: operator + cannot be applied to om.aJ,double
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:89: float cannot be dereferenced
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:89: cannot find symbol
symbol : variable aE
location: class iz
return aE.a(ay.b(aI, aJ + (double)B(), aK), ay.b(entity.aI, entity.aJ + (double)entity.B(), entity.aK)) == null;
^
C:\DOCUME~1\Case\Desktop\iz.java:99: cannot find symbol
symbol : variable aZ
location: class iz
return !aZ;
^
C:\DOCUME~1\Case\Desktop\iz.java:104: cannot find symbol
symbol : variable aZ
location: class iz
return !aZ;
^
C:\DOCUME~1\Case\Desktop\iz.java:109: cannot find symbol
symbol : variable bc
location: class iz
return bc * 0.85F;
^
C:\DOCUME~1\Case\Desktop\iz.java:121: cannot find symbol
symbol : variable bp
location: class iz
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
^
C:\DOCUME~1\Case\Desktop\iz.java:121: cannot find symbol
symbol : variable bp
location: class iz
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
^
C:\DOCUME~1\Case\Desktop\iz.java:121: cannot find symbol
symbol : variable aE
location: class iz
aE.a(this, s, j(), (bp.nextFloat() - bp.nextFloat()) * 0.2F + 1.0F);
^
C:\DOCUME~1\Case\Desktop\iz.java:127: cannot find symbol
symbol : variable super
location: class iz
super.P();
^
C:\DOCUME~1\Case\Desktop\iz.java:128: cannot find symbol
symbol : variable bp
location: class iz
if(bp.nextInt(1000) < a++)
^
C:\DOCUME~1\Case\Desktop\iz.java:133: cannot find symbol
symbol : method I()
location: class iz
if(R() && I())
^
C:\DOCUME~1\Case\Desktop\iz.java:134: cannot find symbol
symbol : class om
location: class iz
a(((om) (null)), 1);
^
C:\DOCUME~1\Case\Desktop\iz.java:135: cannot find symbol
symbol : variable bz
location: class iz
if(bz || aE.t)
^
C:\DOCUME~1\Case\Desktop\iz.java:135: cannot find symbol
symbol : variable aE
location: class iz
if(bz || aE.t)
^
C:\DOCUME~1\Case\Desktop\iz.java:136: cannot find symbol
symbol : variable bs
location: class iz
bs = 0;
^
C:\DOCUME~1\Case\Desktop\iz.java:137: cannot find symbol
symbol : variable iu
location: class iz
if(R() && a(iu.f) && !c_())
^
C:\DOCUME~1\Case\Desktop\iz.java:139: cannot find symbol
symbol : variable bw
location: class iz
bw--;
^
C:\DOCUME~1\Case\Desktop\iz.java:140: cannot find symbol
symbol : variable bw
location: class iz
if(bw == -20)
^
C:\DOCUME~1\Case\Desktop\iz.java:142: cannot find symbol
symbol : variable bw
location: class iz
bw = 0;
^
C:\DOCUME~1\Case\Desktop\iz.java:145: cannot find symbol
symbol : variable bp
location: class iz
float f = bp.nextFloat() - bp.nextFloat();
^
C:\DOCUME~1\Case\Desktop\iz.java:145: cannot find symbol
symbol : variable bp
location: class iz
float f = bp.nextFloat() - bp.nextFloat();
^
C:\DOCUME~1\Case\Desktop\iz.java:146: cannot find symbol
symbol : variable bp
location: class iz
float f1 = bp.nextFloat() - bp.nextFloat();
^
C:\DOCUME~1\Case\Desktop\iz.java:146: cannot find symbol
symbol : variable bp
location: class iz
float f1 = bp.nextFloat() - bp.nextFloat();
^
C:\DOCUME~1\Case\Desktop\iz.java:147: cannot find symbol
symbol : variable bp
location: class iz
float f2 = bp.nextFloat() - bp.nextFloat();
^
C:\DOCUME~1\Case\Desktop\iz.java:147: cannot find symbol
symbol : variable bp
location: class iz
float f2 = bp.nextFloat() - bp.nextFloat();
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aI
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aJ
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aK
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aL
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aM
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aN
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:148: cannot find symbol
symbol : variable aE
location: class iz
aE.a("bubble", aI + (double)f, aJ + (double)f1, aK + (double)f2, aL, aM, aN);
^
C:\DOCUME~1\Case\Desktop\iz.java:151: cannot find symbol
symbol : class om
location: class iz
a(((om) (null)), 2);
^
C:\DOCUME~1\Case\Desktop\iz.java:153: cannot find symbol
symbol : variable bs
location: class iz
bs = 0;
^
C:\DOCUME~1\Case\Desktop\iz.java:156: cannot find symbol
symbol : variable bw
location: class iz
bw = bt;
^
C:\DOCUME~1\Case\Desktop\iz.java:156: cannot find symbol
symbol : variable bt
location: class iz
bw = bt;
^
C:\DOCUME~1\Case\Desktop\iz.java:163: cannot find symbol
symbol : variable bv
location: class iz
if(bv > 0)
^
C:\DOCUME~1\Case\Desktop\iz.java:164: cannot find symbol
symbol : variable bv
location: class iz
bv--;
^
C:\DOCUME~1\Case\Desktop\iz.java:171: cannot find symbol
symbol : method H()
location: class iz
H();
^
C:\DOCUME~1\Case\Desktop\iz.java:174: cannot find symbol
symbol : variable bp
location: class iz
double d = bp.nextGaussian() * 0.02D;
^
C:\DOCUME~1\Case\Desktop\iz.java:175: cannot find symbol
symbol : variable bp
location: class iz
double d1 = bp.nextGaussian() * 0.02D;
^
C:\DOCUME~1\Case\Desktop\iz.java:176: cannot find symbol
symbol : variable bp
location: class iz
double d2 = bp.nextGaussian() * 0.02D;
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable aI
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bp
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bb
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bb
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: operator - cannot be applied to <nulltype>,double
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable aJ
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bp
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bc
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable aK
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bp
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bb
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable bb
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: operator - cannot be applied to <nulltype>,double
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:177: cannot find symbol
symbol : variable aE
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, aJ + (double)(bp.nextFloat() * bc), (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:184: cannot find symbol
symbol : variable aQ
location: class iz
aQ = aO;
^
C:\DOCUME~1\Case\Desktop\iz.java:184: cannot find symbol
symbol : variable aO
location: class iz
aQ = aO;
^
C:\DOCUME~1\Case\Desktop\iz.java:185: cannot find symbol
symbol : variable aR
location: class iz
aR = aP;
^
C:\DOCUME~1\Case\Desktop\iz.java:185: cannot find symbol
symbol : variable aP
location: class iz
aR = aP;
^
C:\DOCUME~1\Case\Desktop\iz.java:192: cannot find symbol
symbol : variable bp
location: class iz
double d = bp.nextGaussian() * 0.02D;
^
C:\DOCUME~1\Case\Desktop\iz.java:193: cannot find symbol
symbol : variable bp
location: class iz
double d1 = bp.nextGaussian() * 0.02D;
^
C:\DOCUME~1\Case\Desktop\iz.java:194: cannot find symbol
symbol : variable bp
location: class iz
double d2 = bp.nextGaussian() * 0.02D;
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable aI
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable bp
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable bb
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable bb
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: operator - cannot be applied to <nulltype>,double
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable aJ
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable bp
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: cannot find symbol
symbol : variable bc
location: class iz
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
C:\DOCUME~1\Case\Desktop\iz.java:196: operator - cannot be applied to <nulltype>,double
aE.a("explode", (aI + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d * d3, (aJ + (double)(bp.nextFloat() * bc)) - d1 * d3, (aK + (double)(bp.nextFloat() * bb * 2.0F)) - (double)bb - d2 * d3, d, d1, d2);
^
Note: C:\DOCUME~1\Case\Desktop\iz.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
100 errors
Your username (IGN):casey0206
Your age:24
How long have you played Minecraft?about 5 months
Want to add anything else?looks like a good server, not full of hackers like some of them
0
0
Current Projects!
Jetpack mod, It will be released when bugs are cleared!
Boat/house, This adds a boat that you can build on, note: if it is huge you might want to drive it in 3rd person! Still working on this one!
Released Mods!
Realistic Sound packs for SDK's Gun Mod.
Pack 1:Download the first pack here
Pack one is the first pack, this is a high quality. The weapon sounds here are:
MP5: Real sound taken from a Century Arms X9 Mac-10.
Sig550: Real sound taken from a AUG.
M16: Real sound taken from a DMPS M4.
AK-47: Real sound taken from a AKS-74u Krinkov.
Deagle: Real sound taken from a S&W Sigma .40.
Shotgun: Real sound taken from a Winchester 1200.
Sniper: Real sound taken from a M24.
Minigun: Real sound taken from a Malcor Firearms PKM.
RPG: Real sound taken from a AT-4 Disposable.
Pack 2 will have real high quality sounds of the actual weapons. Minigun will be the hard part...
0
0
0
New topic hhere!
0
0
0
0
0
Ohh! so I have to probably decompile the whole jar (and files) then compile it again?
0
Them being SDK Weapon mod and Balkon's Weapon mod. I merged the 3 lines in Balkon's IZ file with SDK. But when recompiling with DJ Decompiler I get a error...
Here is the codes from the IZ classes.
SDK
Balkon:
As you can see, the only thing I need to do to make Balkons IZ class and SDK's IZ class go together is add the following to SDK's IZ.class
After doing so I get an error when Re-compiling:
At this point I'm dumbfounded, I merged it perfectly, but yet get an error?
Help would be appreciated!
0
The combined code of the 2 mods:
0
SDK:
Weaponmod:
As you can see the only thing missing from the SDK file is:
I did it right, but when I try to compile to a .class file it says this in the DJ Decompiler:
0
I want him to be wearing a gp5 gas mask
http://www.ticketsofrussia.ru/photos/st ... smaskm.jpg
and like this
http://www.videogamesblogger.com/wp-con ... aper-9.jpg
ty :smile.gif:
0
Your age:24
How long have you played Minecraft?about 5 months
Want to add anything else?looks like a good server, not full of hackers like some of them