Files
Mekanism-Community-Edition/src/main/java/mekanism/defense/api/IEMPBlock.java
T
maggi373 be3cd50b79 add defensetech module
license: ARR
also removed threadgetdata
updatenotifier that isnt needed
2026-03-17 21:01:45 +01:00

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);
}