Package mekanism.common.tank.SynchronizedTankData

Examples of mekanism.common.tank.SynchronizedTankData.ValveData


      int size = dataStream.readInt();

      for(int i = 0; i < size; i++)
      {
        ValveData data = new ValveData();
        data.location = Coord4D.read(dataStream);
        data.side = ForgeDirection.getOrientation(dataStream.readInt());
        int viewingTicks = 0;

        if(dataStream.readBoolean())
View Full Code Here


        for(Coord4D obj : structure.locations)
        {
          if(obj.getTileEntity(pointer.getWorldObj()) instanceof TileEntityDynamicValve)
          {
            ValveData data = new ValveData();
            data.location = obj;
            data.side = getSide(obj, origX+xmin, origX+xmax, origY+ymin, origY+ymax, origZ+zmin, origZ+zmax);

            structure.valves.add(data);
          }
View Full Code Here

TOP

Related Classes of mekanism.common.tank.SynchronizedTankData.ValveData

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.