Package net.minecraft.src

Examples of net.minecraft.src.IBlockAccess


    private static boolean check(IBlockAccess blockAccess, int blockID) {
        return active && blockAccess != null && blockID != BLOCK_ID_BED && blockID != BLOCK_ID_GLASS_PANE && Tessellator.instance instanceof SuperTessellator;
    }

    public static boolean setup(RenderBlocks renderBlocks, Block block, int i, int j, int k, int face, int origTexture) {
        IBlockAccess blockAccess = renderBlocks.blockAccess;
        if (!enableStandard || !check(blockAccess, block.blockID) || face < 0 || face > 5) {
            return false;
        } else if (getConnectedTexture(renderBlocks, blockAccess, block, origTexture, i, j, k, face)) {
            return true;
        } else {
View Full Code Here


            return false;
        }
    }

    public static boolean setup(RenderBlocks renderBlocks, Block block, int i, int j, int k, int origTexture) {
        IBlockAccess blockAccess = renderBlocks.blockAccess;
        if (!enableNonStandard || !check(blockAccess, block.blockID)) {
            return false;
        } else if (getConnectedTexture(renderBlocks, blockAccess, block, origTexture, i, j, k, -1)) {
            return true;
        } else {
View Full Code Here

  public static Icon getTile(RenderBlocks renderBlocks, Block block, int i, int j, int k, int face, Icon icon, Tessellator tessellator) {
    lastOverride = null;

    if (checkFace(face) && checkBlock(renderBlocks, block)) {
      IBlockAccess blockAccess = renderBlocks.blockAccess;
      CTMUtils$2 iterator = new CTMUtils$2(block, icon, blockAccess, i, j, k, face);
      lastOverride = iterator.go();

      if (lastOverride != null) {
        icon = iterator.getIcon();
View Full Code Here

TOP

Related Classes of net.minecraft.src.IBlockAccess

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.