electrodynamics/APIs/icbm/api/explosion/IEMPBlock.java

23 lines
520 B
Java
Raw Normal View History

package icbm.api.explosion;
import net.minecraft.world.World;
import universalelectricity.core.vector.Vector3;
/**
2013-07-23 00:24:55 +02:00
* Applied to all blocks that has a custom reaction to EMPs. Blocks not TileEntities.
*
* @author Calclavia
*
*/
2013-07-23 00:24:55 +02:00
public interface IEMPBlock
{
/**
* Called when this block gets attacked by EMP.
*
2013-07-23 00:24:55 +02:00
* @param world - The world object.
* @param position - The position.
* @param empExplosive - The explosion
*/
public void onEMP(World world, Vector3 position, IExplosion empExplosive);
}