2013-07-22 07:05:40 +02:00
|
|
|
package universalelectricity.prefab.tile;
|
|
|
|
|
|
|
|
import net.minecraftforge.common.ForgeDirection;
|
|
|
|
|
2013-09-18 12:53:42 +02:00
|
|
|
/** The interface is applied to TileEntities that can rotate.
|
|
|
|
*
|
|
|
|
* @author Calclavia */
|
2013-07-22 07:05:40 +02:00
|
|
|
|
|
|
|
public interface IRotatable
|
|
|
|
{
|
2013-09-18 12:53:42 +02:00
|
|
|
/** @return Gets the facing direction. Always returns the front side of the block. */
|
|
|
|
public ForgeDirection getDirection();
|
2013-07-22 07:05:40 +02:00
|
|
|
|
2013-09-18 12:53:42 +02:00
|
|
|
/** @param Sets the facing direction. */
|
|
|
|
public void setDirection(ForgeDirection direction);
|
2013-07-22 07:05:40 +02:00
|
|
|
}
|