Package appeng.core.sync.packets

Examples of appeng.core.sync.packets.PacketLightning


        for (int x = 0; x < 2; x++)
        {
          float dx = (float) (Platform.getRandomFloat() * target.width + target.boundingBox.minX);
          float dy = (float) (Platform.getRandomFloat() * target.height + target.boundingBox.minY);
          float dz = (float) (Platform.getRandomFloat() * target.width + target.boundingBox.minZ);
          ServerHelper.proxy.sendToAllNearExcept( null, dx, dy, dz, 32.0, target.worldObj, new PacketLightning( dx, dy, dz ) );
        }
      }
      target.attackEntityFrom( DamageSource.magic, 6 );
      return true;
    }
View Full Code Here

TOP

Related Classes of appeng.core.sync.packets.PacketLightning

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.