Package erogenousbeef.core.multiblock.rectangular

Examples of erogenousbeef.core.multiblock.rectangular.RectangularMultiblockTileEntityBase


    public IIcon getIcon(IBlockAccess blockAccess, int x, int y, int z, int side) {
    int metadata = blockAccess.getBlockMetadata(x, y, z);
    TileEntity te = blockAccess.getTileEntity(x, y, z);
   
    if(te instanceof RectangularMultiblockTileEntityBase) {
      RectangularMultiblockTileEntityBase rte = (RectangularMultiblockTileEntityBase)te;
      MultiblockControllerBase controller = rte.getMultiblockController();
      if(controller != null && controller.isAssembled()) {
        if(rte.getOutwardsDir().ordinal() == side) {
          return getIconFromTileEntity(rte, metadata);
        }
      }
    }
   
View Full Code Here

TOP

Related Classes of erogenousbeef.core.multiblock.rectangular.RectangularMultiblockTileEntityBase

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.