Examples of moveForward()


Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

      count++;
    }
    count = 0;
    float dist = 0.135F;
    LPPosition pos = new LPPosition(0.5D, 0.5D, 0.5D);
    pos.moveForward(ForgeDirection.SOUTH, dist);
    pos.moveForward(ForgeDirection.EAST, dist);
    pos.moveForward(ForgeDirection.UP, dist);
    for(Pair<ItemIdentifierStack, Pair<Integer, Integer>> item: pipe.transport._itemBuffer) {
      if(item == null || item.getValue1() == null) continue;
      ItemStack itemstack = item.getValue1().makeNormalStack();
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

    }
    count = 0;
    float dist = 0.135F;
    LPPosition pos = new LPPosition(0.5D, 0.5D, 0.5D);
    pos.moveForward(ForgeDirection.SOUTH, dist);
    pos.moveForward(ForgeDirection.EAST, dist);
    pos.moveForward(ForgeDirection.UP, dist);
    for(Pair<ItemIdentifierStack, Pair<Integer, Integer>> item: pipe.transport._itemBuffer) {
      if(item == null || item.getValue1() == null) continue;
      ItemStack itemstack = item.getValue1().makeNormalStack();
      doRenderItem(itemstack, x + pos.getXD(), y + pos.getYD(), z + pos.getZD(), light, 0, 0, 0.25F);
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

    count = 0;
    float dist = 0.135F;
    LPPosition pos = new LPPosition(0.5D, 0.5D, 0.5D);
    pos.moveForward(ForgeDirection.SOUTH, dist);
    pos.moveForward(ForgeDirection.EAST, dist);
    pos.moveForward(ForgeDirection.UP, dist);
    for(Pair<ItemIdentifierStack, Pair<Integer, Integer>> item: pipe.transport._itemBuffer) {
      if(item == null || item.getValue1() == null) continue;
      ItemStack itemstack = item.getValue1().makeNormalStack();
      doRenderItem(itemstack, x + pos.getXD(), y + pos.getYD(), z + pos.getZD(), light, 0, 0, 0.25F);
      count++;
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

      doRenderItem(itemstack, x + pos.getXD(), y + pos.getYD(), z + pos.getZD(), light, 0, 0, 0.25F);
      count++;
      if(count >= 27) {
        break;
      } else if(count % 9 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.EAST, dist * 2);
        pos.moveForward(ForgeDirection.DOWN, dist);       
      } else if(count % 3 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.WEST, dist);
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

      count++;
      if(count >= 27) {
        break;
      } else if(count % 9 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.EAST, dist * 2);
        pos.moveForward(ForgeDirection.DOWN, dist);       
      } else if(count % 3 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.WEST, dist);
      } else {
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

      if(count >= 27) {
        break;
      } else if(count % 9 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.EAST, dist * 2);
        pos.moveForward(ForgeDirection.DOWN, dist);       
      } else if(count % 3 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.WEST, dist);
      } else {
        pos.moveForward(ForgeDirection.NORTH, dist);
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

      } else if(count % 9 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.EAST, dist * 2);
        pos.moveForward(ForgeDirection.DOWN, dist);       
      } else if(count % 3 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.WEST, dist);
      } else {
        pos.moveForward(ForgeDirection.NORTH, dist);
      }
    }
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.EAST, dist * 2);
        pos.moveForward(ForgeDirection.DOWN, dist);       
      } else if(count % 3 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.WEST, dist);
      } else {
        pos.moveForward(ForgeDirection.NORTH, dist);
      }
    }
   
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

        pos.moveForward(ForgeDirection.DOWN, dist);       
      } else if(count % 3 == 0) {
        pos.moveForward(ForgeDirection.SOUTH, dist * 2);
        pos.moveForward(ForgeDirection.WEST, dist);
      } else {
        pos.moveForward(ForgeDirection.NORTH, dist);
      }
    }
   
    GL11.glEnable(2896 /* GL_LIGHTING */);
    GL11.glPopMatrix();
 
View Full Code Here

Examples of logisticspipes.utils.tuples.LPPosition.moveForward()

          //bcItem = TravelingItem.make();
          return true;
        }
        LPPosition p = new LPPosition(tile.xCoord + 0.5F, tile.yCoord + CoreConstants.PIPE_MIN_POS, tile.zCoord + 0.5F);
        if(item.output.getOpposite() == ForgeDirection.DOWN) {
          p.moveForward(item.output.getOpposite(), 0.24F);
        } else if(item.output.getOpposite() == ForgeDirection.UP) {
          p.moveForward(item.output.getOpposite(), 0.74F);
        } else {
          p.moveForward(item.output.getOpposite(), 0.49F);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.