Package crazypants.enderio.conduit.power

Examples of crazypants.enderio.conduit.power.PowerConduitNetwork


      sendInfoMessage(player, conduit);
    }
  }

  public static void sendInfoMessage(EntityPlayer player, IPowerConduit conduit) {
    PowerConduitNetwork pcn = (PowerConduitNetwork) conduit.getNetwork();
    NetworkPowerManager pm = pcn.getPowerManager();
    PowerTracker tracker = pm.getTracker(conduit);
    if(tracker != null) {
      sendPowerConduitInfo(player, conduit, tracker);
    } else {
      sendInfoMessage(player, pm);
View Full Code Here


  public static AbstractConduitNetwork<?, ?> createNetworkForType(Class<? extends IConduit> type) {
    if(IRedstoneConduit.class.isAssignableFrom(type)) {
      return new RedstoneConduitNetwork();
    } else if(IPowerConduit.class.isAssignableFrom(type)) {
      return new PowerConduitNetwork();
    } else if(EnderLiquidConduit.class.isAssignableFrom(type)) {
      return new EnderLiquidConduitNetwork();
    } else if(AdvancedLiquidConduit.class.isAssignableFrom(type)) {
      return new AdvancedLiquidConduitNetwork();
    } else if(ILiquidConduit.class.isAssignableFrom(type)) {
View Full Code Here

TOP

Related Classes of crazypants.enderio.conduit.power.PowerConduitNetwork

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.