Package appeng.api.implementations.tiles

Examples of appeng.api.implementations.tiles.IColorableTile


  {
    TileEntity te = getTileEntity( world, x, y, z );

    if ( te instanceof IColorableTile )
    {
      IColorableTile ct = (IColorableTile) te;
      AEColor c = ct.getColor();
      AEColor newColor = AEColor.values()[colour];

      if ( c != newColor )
      {
        ct.recolourBlock( side, newColor, null );
        return true;
      }
      return false;
    }
View Full Code Here

TOP

Related Classes of appeng.api.implementations.tiles.IColorableTile

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.