Package mekanism.common

Examples of mekanism.common.FluidNetwork


    {
      TileEntity tileEntity = message.coord4D.getTileEntity(player.worldObj);

      if(tileEntity instanceof IGridTransmitter)
      {
        FluidNetwork net = ((IGridTransmitter<FluidNetwork>)tileEntity).getTransmitterNetwork();

        if(message.fluidType != null)
        {
          net.refFluid = message.fluidType;
        }

        net.fluidStored = message.fluidStack;
        net.didTransfer = message.didFluidTransfer;
        net.fluidScale = net.getScale();
      }
    }
   
    return null;
  }
View Full Code Here


  }

  @Override
  public FluidNetwork createNetworkFromSingleTransmitter(IGridTransmitter<FluidNetwork> transmitter)
  {
    return new FluidNetwork(transmitter);
  }
View Full Code Here

  }

  @Override
  public FluidNetwork createNetworkByMergingSet(Set<FluidNetwork> networks)
  {
    return new FluidNetwork(networks);
  }
View Full Code Here

TOP

Related Classes of mekanism.common.FluidNetwork

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.