Advertisement
Corosus

Untitled

Aug 12th, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. double var4 = (double)((float)this.posX + this.rand.nextFloat() * 0.25F);
  2. double var6 = (double)((float)this.posY + this.height + 0.125F);
  3. double var8 = (double)((float)this.posZ + this.rand.nextFloat() * 0.25F);
  4. float var10 = this.rand.nextFloat() * 360.0F;
  5. EntityExplodeFX var31 = new EntityExplodeFX(this.worldObj, -Math.sin((double)(0.01745329F * var10)) * 0.75D, var6 - 0.25D, Math.cos((double)(0.01745329F * var10)) * 0.75D, var4, 0.125D, var8);
  6. this.effR.addEffect(var31);
  7. var31.renderDistanceWeight = 10.0D;
  8. var31.noClip = true;
  9. var31.setSize(0.25F, 0.25F);
  10. var31.posY = var6;
  11. var31.setPosition(this.posX, this.posY, this.posZ);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement