mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-08 00:23:38 +02:00
25 lines
587 B
Java
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);
|
|
|
|
}
|