303

Untitled

303
May 1st, 2011
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.58 KB | None | 0 0
  1.     public void tickFlying() {
  2.         super.tickFlying();
  3.  
  4.         if(mod_Arrows303.particles.get()) {
  5.             EntityFX obj = null;
  6.  
  7.             if(rand.nextBoolean()) {
  8.                 obj = new EntityFlameFX(worldObj, posX, posY, posZ, 0.01D, 0.01D, 0.01D);
  9.             } else {
  10.                 obj = new EntitySmokeFX(worldObj, posX, posY, posZ, 0.01D, 0.01D, 0.01D);
  11.             }
  12.  
  13.             obj.motionX = obj.motionZ = obj.motionY = 0.01D;
  14.             obj.renderDistanceWeight = 10D;
  15.             mod_Arrows303.mc.effectRenderer.addEffect(obj);
  16.         }
  17.     }
Advertisement
Add Comment
Please, Sign In to add comment