Examples of PipeRenderState


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

Examples of buildcraft.transport.PipeRenderState

    }
  }

  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

Examples of buildcraft.transport.PipeRenderState

    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

Examples of buildcraft.transport.PipeRenderState

 
  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

Examples of logisticspipes.renderer.state.PipeRenderState

  public static int renderPass = -1;
 
  public void renderPipe(RenderBlocks renderblocks, IBlockAccess iblockaccess, LogisticsBlockGenericPipe block, LogisticsTileGenericPipe pipe, int x, int y, int z) {
    if(pipe.pipe instanceof PipeBlockRequestTable) {
      PipeRenderState state = pipe.renderState;
      IIconProvider icons = pipe.getPipeIcons();
      if (icons == null) return;
      state.currentTexture = icons.getIcon(state.textureMatrix.getTextureIndex(ForgeDirection.UNKNOWN));
      block.setRenderAllSides();
      block.setBlockBounds(0, 0, 0, 1, 1, 1);
      renderblocks.setRenderBoundsFromBlock(block);
      renderblocks.renderStandardBlock(block, x, y, z);
      return;
    }
    PipeRenderState state = pipe.renderState;
    IIconProvider icons = pipe.getPipeIcons();
   
    if (icons == null)
      return;
View Full Code Here

Examples of logisticspipes.renderer.state.PipeRenderState

    }
  }

  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
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.