I'm trying to create an IC2 explosion in code similar to the way nukes and reactors explode. Currently, I'm using java reflection to get access to the class and cause the explosion. The problem I'm having is sometimes the explosion goes off correctly (usually when its small), but when its large it encounters critical problems. In those cases it constructs the explosion correctly but when it tries to execute it the game hangs.
The exact details of what I'm seeing is: The explosion object is created, the execute message is sent. Blocks drop in the world as if they were destroyed - but the original blocks remain there. And all entities stop ticking - mobs stop moving, tileentities become unresponsive, and the game has to be forcibly shut down. (for small explosions this does not happen).
So I was wondering if there is an officially supported way to creating one of these explosions? Also, I have tried using a normal TNT explosion, but when that one gets large it creates a square blast instead of a sphere.
Any advice/tips would be appreciated. Thanks