mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-18 19:29:19 +00:00
17 lines
471 B
Java
17 lines
471 B
Java
package defense.api;
|
|
|
|
import net.minecraft.world.World;
|
|
|
|
/** Applied to all blocks that has a custom reaction to EMPs. Blocks not TileEntities.
|
|
*
|
|
* @author Calclavia */
|
|
public interface IEMPBlock
|
|
{
|
|
/** Called when this block gets attacked by EMP.
|
|
*
|
|
* @param world - The world object.
|
|
* @param position - The position.
|
|
* @param empExplosive - The explosion */
|
|
public void onEMP(World world, int x, int y, int z, IExplosion empExplosive);
|
|
}
|