17 lines
317 B
Java
17 lines
317 B
Java
|
package calclavia.lib.multiblock;
|
||
|
|
||
|
import net.minecraft.entity.player.EntityPlayer;
|
||
|
|
||
|
/**
|
||
|
* A general interface to be implemented by anything that needs it.
|
||
|
*
|
||
|
* @author Calclavia
|
||
|
*
|
||
|
*/
|
||
|
public interface IBlockActivate
|
||
|
{
|
||
|
/**
|
||
|
* Called when activated
|
||
|
*/
|
||
|
public boolean onActivated(EntityPlayer entityPlayer);
|
||
|
}
|