Examples of IColorableTile


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
Copyright © 2018 www.massapi.com. 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.