ActuallyAdditions/src/main/java/powercrystals/minefactoryreloaded/api/IFactoryLaserSource.java
2015-05-22 17:48:50 +02:00

25 lines
587 B
Java

package powercrystals.minefactoryreloaded.api;
import net.minecraftforge.common.util.ForgeDirection;
/**
* Defines a target for the laser blocks. TileEntities that implement this
* interface will sustain the beam.
*
* @author skyboy
*/
public interface IFactoryLaserSource {
/**
* Used to determine if laser blocks can remain in the world when emitted
* from <tt>from</tt>
*
* @param from
* The direction the laser is oriented
*
* @return True if the beam should be sustained from this side
*/
public boolean canFormBeamFrom(ForgeDirection from);
}