Examples of blockActivated()


Examples of logisticspipes.pipes.basic.CoreUnroutedPipe.blockActivated()

      TileEntity tile = par3World.getTileEntity(par4, par5, par6);
      if(tile instanceof LogisticsTileGenericPipe) {
        if (par2EntityPlayer.getDisplayName().equals("ComputerCraft")) { //Allow turtle to place modules in pipes.
          CoreUnroutedPipe pipe = LogisticsBlockGenericPipe.getPipe(par3World, par4, par5, par6);
          if (LogisticsBlockGenericPipe.isValid(pipe)){
            pipe.blockActivated(par2EntityPlayer);
          }
        }
        return true;
      }
      openConfigGui(par1ItemStack, par2EntityPlayer, par3World);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.