Package vazkii.botania.common.block.tile

Examples of vazkii.botania.common.block.tile.TileBifrost


        for(int i = -2; i < 1; i++)
          for(int j = -2; j < 1; j++)
            if(par2World.getBlock((int) x + i, (int) y, (int) z + j).isAir(par2World, (int) x + i, (int) y, (int) z + j) || par2World.getBlock((int) x + i, (int) y, (int) z + j) == place) {
              par2World.setBlock((int) x + i, (int) y, (int) z + j, place);
              TileBifrost tile = (TileBifrost) par2World.getTileEntity((int) x + i, (int) y, (int) z + j);
              if(tile != null) {
                for(int k = 0; k < 4; k++)
                  Botania.proxy.sparkleFX(par2World, tile.xCoord + Math.random(), tile.yCoord + Math.random(), tile.zCoord + Math.random(), (float) Math.random(), (float) Math.random(), (float) Math.random(), 0.45F + 0.2F * (float) Math.random(), 6);
                tile.ticks = TIME;
              }
View Full Code Here


    return 0;
  }

  @Override
  public TileEntity createNewTileEntity(World world, int meta) {
    return new TileBifrost();
  }
View Full Code Here

TOP

Related Classes of vazkii.botania.common.block.tile.TileBifrost

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.