Package logisticspipes.blocks

Examples of logisticspipes.blocks.LogisticsSecurityTileEntity


    return new SecurityStationId(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.setClientUUID(getUuid());
    }
  }
View Full Code Here


    return new SecurityCardPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.buttonFreqCard(getInteger(), player);
    }
  }
View Full Code Here

    return new SecurityRemoveCCIdPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.removeCCFromList(getInteger());
      tile.requestList(player);
    }
  }
View Full Code Here

    return new SecurityStationAutoDestroy(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile instanceof LogisticsSecurityTileEntity) {
      if(MainProxy.isClient(player.worldObj)) {
        tile.setClientDestroy(getInteger() == 1);
        handleClientSide(player);
      } else {
        tile.changeDestroy();
      }
    }
  }
View Full Code Here

    return new SecurityRequestCCIdsPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.requestList(player);
    }
  }
View Full Code Here

    return new SecurityStationCCIDs(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.handleListPacket(getTag());
    }
  }
View Full Code Here

    return new SecurityAddCCIdPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.addCCToList(getInteger());
      tile.requestList(player);
    }
  }
View Full Code Here

    return new SecurityStationOpenPlayerRequest(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      if(getString() != null && !getString().isEmpty()) {
        tile.handleOpenSecurityPlayer(player, getString());
      }
    }
  }
View Full Code Here

    return new SaveSecurityPlayerPacket(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile != null) {
      tile.saveNewSecuritySettings(getTag());
    }
  }
View Full Code Here

    return new SecurityStationCC(getId());
  }

  @Override
  public void processPacket(EntityPlayer player) {
    LogisticsSecurityTileEntity tile = this.getTile(player.worldObj, LogisticsSecurityTileEntity.class);
    if(tile instanceof LogisticsSecurityTileEntity) {
      if(MainProxy.isClient(player.worldObj)) {
        tile.setClientCC(getInteger() == 1);
        handleClientSide(player);
      } else {
        tile.changeCC();
      }
    }
  }
View Full Code Here

TOP

Related Classes of logisticspipes.blocks.LogisticsSecurityTileEntity

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.