Package logisticspipes.proxy.buildcraft.bc61.gates.wrapperclasses

Examples of logisticspipes.proxy.buildcraft.bc61.gates.wrapperclasses.TilePipeWrapper


  @SideOnly(Side.CLIENT)
  public void renderGatesWires(LogisticsTileGenericPipe pipe, double x, double y, double z) {
   
    renderGates(pipe, x, y, z);
   
    BCRenderState bcRenderState = (BCRenderState) pipe.renderState.bcRenderState.getOriginal();

    if (bcRenderState.wireMatrix.hasWire(PipeWire.RED)) {
      pipeWireRender(pipe, LPConstants.PIPE_MIN_POS, LPConstants.PIPE_MAX_POS, LPConstants.PIPE_MIN_POS, PipeWire.RED, x, y, z);
    }
View Full Code Here


  }

  private void pipeWireRender(LogisticsTileGenericPipe pipe, float cx, float cy, float cz, PipeWire color, double x, double y, double z) {

    PipeRenderState state = pipe.renderState;
    BCRenderState bcRenderState = (BCRenderState) state.bcRenderState.getOriginal();
   
    float minX = LPConstants.PIPE_MIN_POS;
    float minY = LPConstants.PIPE_MIN_POS;
    float minZ = LPConstants.PIPE_MIN_POS;
View Full Code Here

      }
    }
  }

  private void renderGate(LogisticsTileGenericPipe pipe, double x, double y, double z, Gate gate, ForgeDirection direction) {
    BCRenderState bcRenderState = (BCRenderState) pipe.renderState.bcRenderState.getOriginal();
 
    GL11.glPushMatrix();
    GL11.glPushAttrib(GL11.GL_ENABLE_BIT);
//    GL11.glEnable(GL11.GL_LIGHTING);
    GL11.glDisable(GL11.GL_BLEND);
View Full Code Here

  @Override
  @SideOnly(Side.CLIENT)
  public void pipePlugRenderer(RenderBlocks renderblocks, Block block, PipeRenderState state, int x, int y, int z) {
   
    BCRenderState bcRenderState = (BCRenderState)state.bcRenderState.getOriginal();
   
    float zFightOffset = 1F / 4096F;

    float[][] zeroState = new float[3][2];
    // X START - END
View Full Code Here

    return new BCCoreState();
  }

  @Override
  public IBCRenderState getBCRenderState() {
    return new BCRenderState();
  }
View Full Code Here

  }

  public static void pipeFacadeRenderer(RenderBlocks renderblocks, LogisticsBlockGenericPipe block, PipeRenderState state, int x, int y, int z) {
    state.textureArray = new IIcon[6];
   
    BCRenderState bcRenderState = (BCRenderState)state.bcRenderState.getOriginal();
   
    for (ForgeDirection direction : ForgeDirection.VALID_DIRECTIONS) {
      Block renderBlock = bcRenderState.facadeMatrix.getFacadeBlock(direction);

      if (renderBlock != null) {
View Full Code Here

    return new BCPipePart(tile);
  }

  @Override
  public IBCTilePart getBCTilePart(LogisticsTileGenericPipe tile) {
    return new BCTilePart(tile);
  }
View Full Code Here

TOP

Related Classes of logisticspipes.proxy.buildcraft.bc61.gates.wrapperclasses.TilePipeWrapper

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.