public static boolean explodeMachineAt(World world, int x, int y, int z) { try { Class<?> mainIC2Class = Class.forName("ic2.common.IC2"); mainIC2Class .getMethod("explodeMachineAt", World.class, Integer.TYPE, Integer.TYPE, Integer.TYPE) .invoke(null, world, x, y, z); return true; } catch (Exception e) { System.out.printf("GregsLighting.explodeMachineAt: %s\n", e); return false; } }