Package buildcraft.transport

Examples of buildcraft.transport.PipeRenderState


      // no object to render in a structure pipe;
    } */
  }

  private void renderGatesWires(TileGenericPipe pipe, double x, double y, double z) {
    PipeRenderState state = pipe.renderState;

    if (state.wireMatrix.hasWire(PipeWire.RED)) {
      pipeWireRender(pipe, CoreConstants.PIPE_MIN_POS, CoreConstants.PIPE_MAX_POS, CoreConstants.PIPE_MIN_POS, PipeWire.RED, x, y, z);
    }

View Full Code Here


    }
  }

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

    PipeRenderState state = pipe.renderState;

    float minX = CoreConstants.PIPE_MIN_POS;
    float minY = CoreConstants.PIPE_MIN_POS;
    float minZ = CoreConstants.PIPE_MIN_POS;
View Full Code Here

    GL11.glPopAttrib();
    GL11.glPopMatrix();
  }

  private void renderGate(TileGenericPipe tile, IIcon icon, int layer, float trim, float translateCenter, float extraDepth, ForgeDirection direction) {
    PipeRenderState state = tile.renderState;

    RenderInfo renderBox = new RenderInfo();
    renderBox.texture = icon;

    float[][] zeroState = new float[3][2];
View Full Code Here

 
  public static int renderPass = -1
  public static float zFightOffset = 1F / 4096F;
 
  public void renderPipe(RenderBlocks renderblocks, IBlockAccess iblockaccess, TileGenericPipe tile, int x, int y, int z) {
    PipeRenderState state = tile.renderState;
    IIconProvider icons = tile.getPipeIcons();
    FakeBlock fakeBlock = FakeBlock.INSTANCE;
    int glassColorMultiplier = tile.getStainedColorMultiplier();
   
    if (icons == null) {
View Full Code Here

TOP

Related Classes of buildcraft.transport.PipeRenderState

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.