Package powercrystals.core.block

Examples of powercrystals.core.block.BlockFluidClassic


    int l = block.colorMultiplier(world, x, y, z);
    float red = (l >> 16 & 255) / 255.0F;
    float green = (l >> 8 & 255) / 255.0F;
    float blue = (l & 255) / 255.0F;

    BlockFluidClassic theFluid = (BlockFluidClassic) block;
    int bMeta = world.getBlockMetadata(x, y, z);

    boolean renderTop = world.getBlockId(x, y - theFluid.densityDir, z) != theFluid.blockID;

    boolean renderBottom = block.shouldSideBeRendered(world, x, y + theFluid.densityDir, z, 0)
View Full Code Here

TOP

Related Classes of powercrystals.core.block.BlockFluidClassic

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.