Package net.minecraft.src.buildcraft.additionalpipes.logic

Examples of net.minecraft.src.buildcraft.additionalpipes.logic.PipeLogicTeleport


public class PipeItemTeleport extends PipeTeleport implements IPipeTransportItemsHook {
   
    LinkedList <Integer> idsToRemove = new LinkedList <Integer> ();
   
    public PipeItemTeleport(int itemID) {
        super(new PipeTransportItems(), new PipeLogicTeleport(NetworkID.GUI_PIPE_TP), itemID);
    }
View Full Code Here


  public List<PipeTeleport> getConnectedPipes(boolean ignoreReceive) {
   
    List<PipeTeleport> temp = new LinkedList<PipeTeleport>();
        removeOldPipes();
       
        PipeLogicTeleport logic = (PipeLogicTeleport) this.logic;

        for (PipeTeleport pipe : teleportPipes) {
         
          if (!this.getClass().equals(pipe.getClass())) {
            continue;
          }
         
          PipeLogicTeleport pipeLogic = (PipeLogicTeleport) pipe.logic;
         
        if (pipeLogic.owner.equalsIgnoreCase(logic.owner) || MutiPlayerProxy.isOnServer() == false) {
             
                if (pipeLogic.canReceive || ignoreReceive) {
                 
View Full Code Here

            iliquid = b;
        }
    }

    public PipeLiquidsTeleport(int itemID) {
        super(new PipeTransportLiquids(), new PipeLogicTeleport(NetworkID.GUI_PIPE_TP), itemID);
       
        ((PipeTransportLiquids) transport).flowRate = 80;
    ((PipeTransportLiquids) transport).travelDelay = 2;
    }
View Full Code Here

            ori = o;
        }
    }
   
    public PipePowerTeleport(int itemID) {
        super(new PipeTransportPower(), new PipeLogicTeleport(NetworkID.GUI_PIPE_TP), itemID);

    }
View Full Code Here

TOP

Related Classes of net.minecraft.src.buildcraft.additionalpipes.logic.PipeLogicTeleport

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.