Package net.minecraft.src

Examples of net.minecraft.src.EntityLightningBolt


    * Uses a lightning bolt at the specified coordinate
    *
    * @param coordinate - The coordinate to use the lightning bolt at
    */
   public void useLightning(Coordinate coordinate) {
      EntityLightningBolt lightning = new EntityLightningBolt(world, coordinate.getX(),coordinate.getY(),coordinate.getZ());
      world.addWeatherEffect(lightning);
   }
View Full Code Here


  public static void StrunBahQo(World world, EntityPlayer player) {
    for (Entity el : getNearbyEntities(world, player.boundingBox))
      if (!(el == player))
        if (player.canEntityBeSeen(el))
          world.spawnEntityInWorld(new EntityLightningBolt(world, el.posX, el.posY,
              el.posZ));
    mc.ingameGUI.addChatMessage("<" + player.username + ">:�3 STRUN BAH QO");
  }
View Full Code Here

TOP

Related Classes of net.minecraft.src.EntityLightningBolt

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.