Package powercrystals.minefactoryreloaded.render

Examples of powercrystals.minefactoryreloaded.render.IconOverlay


  }

  @Override
  public Icon getIcon(int side, int meta)
  {
    return new IconOverlay(BlockFactoryGlass._texture, 8, 8, meta > 15 ? 6 : 7, 7);
  }
View Full Code Here


    return ItemDye.dyeColors[15 - Math.min(Math.max(meta, 0), 15)];
  }

  public Icon getBlockOverlayTexture()
  {
    return new IconOverlay(BlockFactoryGlass._texture, 8, 8, 0, 0);
  }
View Full Code Here

    sides[6] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    bp.moveRight(1);
    sides[2] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    bp.moveRight(1);
    sides[7] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    return new IconOverlay(BlockFactoryGlass._texture, 8, 8, sides);
  }
View Full Code Here

  }

  @Override
  public Icon getSideTextureIndex()
  {
    return new IconOverlay(BlockFactoryGlass._texture, 8, 8, 5, 7);
  }
View Full Code Here

  }
 
  @Override
  public Icon getBlockOverlayTexture()
  {
    return new IconOverlay(BlockFactoryGlass._texture, 8, 8, 0, 7);
  }
View Full Code Here

  }

  @Override
  public Icon getIcon(int side, int meta)
  {
    return new IconOverlay(_texture, 8, 8, meta > 15 ? 6 : 7, 7);
  }
View Full Code Here

    return new IconOverlay(_texture, 8, 8, meta > 15 ? 6 : 7, 7);
  }

  public Icon getBlockOverlayTexture()
  {
    return new IconOverlay(_texture, 8, 8, 0, 0);
  }
View Full Code Here

      bp.moveRight(1);
      sides[2] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
      bp.moveRight(1);
      sides[7] = world.getBlockId(bp.x,bp.y,bp.z) == blockID;
    }
    return new IconOverlay(_texture, 8, 8, sides);
  }
View Full Code Here

TOP

Related Classes of powercrystals.minefactoryreloaded.render.IconOverlay

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.