Package logisticspipes.pipes.basic

Examples of logisticspipes.pipes.basic.LogisticsTileGenericPipe


    return new SatPipePrev(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    final LogisticsTileGenericPipe pipe = getPipe(player.worldObj);
    if (pipe == null) {
      return;
    }

    if (pipe.pipe instanceof PipeItemsSatelliteLogistics) {
View Full Code Here


    return new SatPipeNext(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    final LogisticsTileGenericPipe pipe = getPipe(player.worldObj);
    if (pipe == null) {
      return;
    }

    if (pipe.pipe instanceof PipeItemsSatelliteLogistics) {
View Full Code Here

    super.readData(data);
  }

  @Override
  public void processPacket(EntityPlayer player) {
    final LogisticsTileGenericPipe pipe = getPipe(player.worldObj);
    if (pipe == null) {
      return;
    }

    if (pipe.pipe instanceof PipeItemsSatelliteLogistics) {
View Full Code Here

    return new DiskDropPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    final LogisticsTileGenericPipe pipe = this.getPipe(player.worldObj);
    if(pipe == null) {
      return;
    }
    if(pipe.pipe instanceof PipeItemsRequestLogisticsMk2) {
      if(((PipeItemsRequestLogisticsMk2)pipe.pipe).getDisk() != null) {
View Full Code Here

    remove = data.readBoolean();
  }
 
  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsTileGenericPipe tile = this.getPipe(player.getEntityWorld());
    if(remove) {
      tile.removeLaser(dir, getColor(), isRenderBall());
    } else {
      tile.addLaser(dir, getLength(), getColor(), isReverse(), isRenderBall());
    }
  }
View Full Code Here

    super(id);
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsTileGenericPipe pipe = this.getPipe(player.worldObj);
    if(pipe == null || !(pipe.pipe instanceof PipeLogisticsChassi)) return;
    MainProxy.sendPacketToPlayer(PacketHandler.getPacket(ChassiOrientationPacket.class).setDir(((PipeLogisticsChassi)pipe.pipe).getPointedOrientation()).setPosX(getPosX()).setPosY(getPosY()).setPosZ(getPosZ()), player);
  }
View Full Code Here

    super(id);
  }

  @Override
  public Object getClientGui(EntityPlayer player) {
    LogisticsTileGenericPipe pipe = this.getPipe(player.getEntityWorld());
    if(pipe.pipe == null) return null;
    if(!pipe.pipe.hasGate(ForgeDirection.getOrientation(side))) return null;
    return pipe.pipe.bcPipePart.getClientGui(player.inventory, side);
  }
View Full Code Here

    return pipe.pipe.bcPipePart.getClientGui(player.inventory, side);
  }

  @Override
  public Container getContainer(EntityPlayer player) {
    LogisticsTileGenericPipe pipe = this.getPipe(player.getEntityWorld());
    if(pipe.pipe == null) return null;
    if(!pipe.pipe.hasGate(ForgeDirection.getOrientation(side))) return null;
    return pipe.pipe.bcPipePart.getGateContainer(player.inventory, side);
  }
View Full Code Here

    super(id);
  }

  @Override
  public Object getClientGui(EntityPlayer player) {
    LogisticsTileGenericPipe tile = this.getPipe(player.getEntityWorld());
    if(tile == null || !(tile.pipe instanceof CoreRoutedPipe)) return null;
    return new GuiPipeController(player, (CoreRoutedPipe) tile.pipe);
  }
View Full Code Here

    return new GuiPipeController(player, (CoreRoutedPipe) tile.pipe);
  }
 
  @Override
  public DummyContainer getContainer(EntityPlayer player) {
    LogisticsTileGenericPipe tile = this.getPipe(player.getEntityWorld());
    if(tile == null || !(tile.pipe instanceof CoreRoutedPipe)) return null;
    final CoreRoutedPipe pipe = (CoreRoutedPipe) tile.pipe;
    DummyContainer dummy = new DummyContainer(player, null, pipe.getUpgradeManager().getGuiController(), new IGuiOpenControler() {
      //Network Statistics
      @Override
View Full Code Here

TOP

Related Classes of logisticspipes.pipes.basic.LogisticsTileGenericPipe

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.