Package buildcraft.transport

Examples of buildcraft.transport.TileGenericPipe


    TileEntity entity = world.getTileEntity(packetPower.posX, packetPower.posY, packetPower.posZ);
    if (!(entity instanceof TileGenericPipe)) {
      return;
    }

    TileGenericPipe pipe = (TileGenericPipe) entity;
    if (pipe.pipe == null) {
      return;
    }

    if (!(pipe.pipe.transport instanceof PipeTransportPower)) {
View Full Code Here


   *
   * @param player
   * @param packet
   */
  private void onDiamondPipeSelect(EntityPlayer player, PacketSlotChange packet) {
    TileGenericPipe pipe = getPipe(player.worldObj, packet.posX, packet.posY, packet.posZ);
    if (pipe == null) {
      return;
    }

    if (!(pipe.pipe instanceof PipeItemsDiamond)) {
View Full Code Here

   *
   * @param player
   * @param packet
   */
  private void onEmeraldPipeSelect(EntityPlayer player, PacketSlotChange packet) {
    TileGenericPipe pipe = getPipe(player.worldObj, packet.posX, packet.posY, packet.posZ);
    if (pipe == null) {
      return;
    }

    if (!(pipe.pipe instanceof PipeItemsEmerald)) {
View Full Code Here

    renderer.setRenderBounds(0, 0, 0, 0, 0, 0);
    renderer.renderStandardBlock(Blocks.stone, x, y, z);
    renderer.setRenderBoundsFromBlock(block);

    if (tile instanceof TileGenericPipe) {
      TileGenericPipe pipeTile = (TileGenericPipe) tile;
      renderPipe(renderer, world, pipeTile, x, y, z);
    }

    return true;
  }
View Full Code Here

    if (!(container instanceof IGate)) {
      return false;
    }
   
    Pipe<?> pipe = (Pipe<?>) ((IGate) container).getPipe();
    TileGenericPipe tile = pipe.container;

    for (ForgeDirection d : ForgeDirection.VALID_DIRECTIONS) {
      DockingStation station = tile.getStation(d);

      if (station != null && station.robotTaking() != null) {
        EntityRobot robot = (EntityRobot) station.robotTaking();

        if (robot.mainAI.getActiveAI() instanceof AIRobotSleep) {
View Full Code Here

TOP

Related Classes of buildcraft.transport.TileGenericPipe

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.