Package forestry.apiculture.gadgets

Examples of forestry.apiculture.gadgets.TileCandle


  public boolean renderBlockCandle(IBlockAccess world, int x, int y, int z, BlockCandle block, int modelId, RenderBlocks renderer) {
    int meta = world.getBlockMetadata(x, y, z);
    IIcon iconA = block.getTextureFromPassAndMeta(meta, 0);
    IIcon iconB = block.getTextureFromPassAndMeta(meta, 1);
    meta = meta & 0x7;
    TileCandle tc = (TileCandle)world.getTileEntity(x, y, z);
    int colour = tc.getColour();
    Tessellator tessellator = Tessellator.instance;
    tessellator.setBrightness(world.getLightBrightnessForSkyBlocks(x, y, z, block.getLightValue(world, x, y, z)));
    tessellator.setColorOpaque_F(1.0F, 1.0F, 1.0F);
    double d0 = 0.4000000059604645D;
    double d1 = 0.5D - d0;
View Full Code Here

TOP

Related Classes of forestry.apiculture.gadgets.TileCandle

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.