Package net.minecraft.src.buildcraft.transport

Examples of net.minecraft.src.buildcraft.transport.Pipe


        return true;
    }

    @Override
    public boolean isPipeConnected(TileEntity tile) {
        Pipe pipe2 = null;

        if (tile instanceof TileGenericPipe) {
            pipe2 = ((TileGenericPipe) tile).pipe;
        }
View Full Code Here


public class PipeLogicAdvancedInsertion extends PipeLogic {

    @Override
    public boolean isPipeConnected(TileEntity tile) {
        Pipe pipe2 = null;

        if (tile instanceof TileGenericPipe) {
            pipe2 = ((TileGenericPipe) tile).pipe;
        }
View Full Code Here

    }
 
  @Override
    public boolean isPipeConnected(TileEntity tile) {
   
        Pipe pipe = null;

        if (tile instanceof TileGenericPipe) {
            pipe = ((TileGenericPipe) tile).pipe;
        }

        if (BuildCraftTransport.alwaysConnectPipes) {
            return super.isPipeConnected(tile);
        }
        else {
         
          if (pipe == null) {
            return false;
          }
         
          if (this.container.pipe.getClass().equals(pipe.getClass()) && super.isPipeConnected(tile)) {
            return true;
          }
         
         
          return true;
View Full Code Here

TOP

Related Classes of net.minecraft.src.buildcraft.transport.Pipe

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.