Package buildcraft.transport.BlockGenericPipe

Examples of buildcraft.transport.BlockGenericPipe.RaytraceResult


   
    if (tile == null || !(tile instanceof TileGenericPipe) || !(block instanceof BlockGenericPipe)) {
      return false;
    }
   
    RaytraceResult rayTraceResult = ((BlockGenericPipe) block).doRayTrace(world, x, y, z, player);

    if (rayTraceResult != null && rayTraceResult.boundingBox != null && rayTraceResult.hitPart == Part.Gate) {
      gate = ((TileGenericPipe) tile).pipe.gates[rayTraceResult.sideHit.ordinal()];
    }
   
View Full Code Here

TOP

Related Classes of buildcraft.transport.BlockGenericPipe.RaytraceResult

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.