Package appeng.tile.misc

Examples of appeng.tile.misc.TileCharger


    if ( player.isSneaking() )
      return false;

    if ( Platform.isServer() )
    {
      TileCharger tc = getTileEntity( w, x, y, z );
      if ( tc != null )
      {
        tc.activate( player );
      }
    }

    return true;
  }
View Full Code Here


      return;

    AEBaseTile tile = getTileEntity( w, x, y, z );
    if ( tile instanceof TileCharger )
    {
      TileCharger tc = (TileCharger) tile;
      if ( AEApi.instance().materials().materialCertusQuartzCrystalCharged.sameAsStack( tc.getStackInSlot( 0 ) ) )
      {

        double xOff = 0.0;
        double yOff = 0.0;
        double zOff = 0.0;
View Full Code Here

  }

  @Override
  public Iterable<AxisAlignedBB> getSelectedBoundingBoxesFromPool(World w, int x, int y, int z, Entity e, boolean isVisual)
  {
    TileCharger tile = getTileEntity( w, x, y, z );
    if ( tile != null )
    {
      double twoPixels = 2.0 / 16.0;
      ForgeDirection up = tile.getUp();
      ForgeDirection forward = tile.getForward();
      AxisAlignedBB bb = AxisAlignedBB.getBoundingBox( twoPixels, twoPixels, twoPixels, 1.0 - twoPixels, 1.0 - twoPixels, 1.0 - twoPixels );

      if ( up.offsetX != 0 )
      {
        bb.minX = 0;
View Full Code Here

        currentToolTip.add( WailaText.Unlocked.getLocal() );
    }

    if ( ThingOfInterest instanceof TileCharger )
    {
      TileCharger tc = (TileCharger) ThingOfInterest;
      IInventory inv = tc.getInternalInventory();
      ItemStack is = inv.getStackInSlot( 0 );
      if ( is != null )
      {
        currentToolTip.add( WailaText.Contains + ": " + is.getDisplayName() );
        is.getItem().addInformation( is, player, currentToolTip, true );
View Full Code Here

TOP

Related Classes of appeng.tile.misc.TileCharger

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.