Examples of ILaserTarget


Examples of buildcraft.api.power.ILaserTarget

        for (int z = minZ; z <= maxZ; ++z) {
          if (worldObj.getBlock(x, y, z) instanceof ILaserTargetBlock) {
            TileEntity tile = worldObj.getTileEntity(x, y, z);
           
            if (tile instanceof ILaserTarget) {
              ILaserTarget table = (ILaserTarget) tile;
             
              if (table.requiresLaserEnergy()) {
                targets.add(table);
              }
            }
          }
        }
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.