Package net.minecraft.world

Examples of net.minecraft.world.Explosion


    }

    if ( AEConfig.instance.isFeatureEnabled( AEFeature.TinyTNTBlockDamage ) )
    {
      posY -= 0.25;
      Explosion ex = new Explosion( worldObj, this, posX, posY, posZ, 0.2f );

      for (int x = (int) (posX - 2); x <= posX + 2; x++)
      {
        for (int y = (int) (posY - 2); y <= posY + 2; y++)
        {
View Full Code Here


  public static void explodeBlock(World world, int x, int y, int z) {
    if (FMLCommonHandler.instance().getEffectiveSide().isClient()) {
      return;
    }

    Explosion explosion = new Explosion(world, null, x + .5, y + .5, z + .5, 3f);
    explosion.affectedBlockPositions.add(new ChunkPosition(x, y, z));
    explosion.doExplosionB(true);

    for (EntityPlayer player : (List<EntityPlayer>) world.playerEntities) {
      if (!(player instanceof EntityPlayerMP)) {
        continue;
      }
View Full Code Here

TOP

Related Classes of net.minecraft.world.Explosion

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.