Package appeng.tile.networking

Examples of appeng.tile.networking.TileWireless


  }

  @Override
  public Iterable<AxisAlignedBB> getSelectedBoundingBoxesFromPool(World w, int x, int y, int z, Entity e, boolean isVisual)
  {
    TileWireless tile = getTileEntity( w, x, y, z );
    if ( tile != null )
    {
      ForgeDirection forward = tile.getForward();

      double minX = 0;
      double minY = 0;
      double minZ = 0;
      double maxX = 1;
View Full Code Here


  }

  @Override
  public void addCollidingBlockToList(World w, int x, int y, int z, AxisAlignedBB bb, List out, Entity e)
  {
    TileWireless tile = getTileEntity( w, x, y, z );
    if ( tile != null )
    {
      ForgeDirection forward = tile.getForward();

      double minX = 0;
      double minY = 0;
      double minZ = 0;
      double maxX = 1;
View Full Code Here

  public boolean onActivated(World w, int x, int y, int z, EntityPlayer p, int side, float hitX, float hitY, float hitZ)
  {
    if ( p.isSneaking() )
      return false;

    TileWireless tg = getTileEntity( w, x, y, z );
    if ( tg != null )
    {
      if ( Platform.isServer() )
        Platform.openGUI( p, tg, ForgeDirection.getOrientation( side ), GuiBridge.GUI_WIRELESS );
      return true;
View Full Code Here

  boolean hasPower = false;

  @Override
  public boolean renderInWorld(AEBaseBlock blk, IBlockAccess world, int x, int y, int z, RenderBlocks renderer)
  {
    TileWireless tw = blk.getTileEntity( world, x, y, z );
    this.blk = blk;
    if ( tw != null )
    {
      hasChan = (tw.clientFlags & (TileWireless.POWERED_FLAG | TileWireless.CHANNEL_FLAG)) == (TileWireless.POWERED_FLAG | TileWireless.CHANNEL_FLAG);
      hasPower = (tw.clientFlags & TileWireless.POWERED_FLAG) == TileWireless.POWERED_FLAG;

      BlockRenderInfo ri = blk.getRendererInstance();

      ForgeDirection fdy = tw.getUp();
      ForgeDirection fdz = tw.getForward();
      ForgeDirection fdx = Platform.crossProduct( fdz, fdy ).getOpposite();

      renderer.renderAllFaces = true;

      IIcon r = CableBusTextures.PartMonitorSidesStatus.getIcon();
View Full Code Here

TOP

Related Classes of appeng.tile.networking.TileWireless

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.