Package appeng.tile.spatial

Examples of appeng.tile.spatial.TileSpatialPylon


  @Override
  public boolean renderInWorld(AEBaseBlock imb, IBlockAccess world, int x, int y, int z, RenderBlocks renderer)
  {
    renderer.setRenderBounds( 0, 0, 0, 1, 1, 1 );

    TileSpatialPylon sp = imb.getTileEntity( world, x, y, z );

    int displayBits = sp.getDisplayBits();
    ForgeDirection ori = ForgeDirection.UNKNOWN;

    if ( displayBits != 0 )
    {
      if ( (displayBits & sp.DISPLAY_Z) == sp.DISPLAY_X )
View Full Code Here


  }

  @Override
  public void onNeighborBlockChange(World w, int x, int y, int z, Block junk)
  {
    TileSpatialPylon tsp = getTileEntity( w, x, y, z );
    if ( tsp != null )
      tsp.onNeighborBlockChange();
  }
View Full Code Here

  }

  @Override
  public int getLightValue(IBlockAccess w, int x, int y, int z)
  {
    TileSpatialPylon tsp = getTileEntity( w, x, y, z );
    if ( tsp != null )
      return tsp.getLightValue();
    return super.getLightValue( w, x, y, z );
  }
View Full Code Here

    {
      for (int y = min.y; y <= max.y; y++)
      {
        for (int z = min.z; z <= max.z; z++)
        {
          TileSpatialPylon te = (TileSpatialPylon) w.getTileEntity( x, y, z );
          te.updateStatus( c );
          c.line.add( (te) );
        }
      }
    }
View Full Code Here

TOP

Related Classes of appeng.tile.spatial.TileSpatialPylon

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.