public static void spawnWisp (Location loc, int amount) {
        int i = 0;
        while (i < amount) {
            Wisp Wisp = (Wisp) loc.getWorld().spawnEntity(loc, EntityType.BAT);
            Wisp.getWorld.playEffect(loc, Effect.MOBSPAWNER_FLAMES, 0);
            Wisp.getWorld.playEffect(loc, Effect.POTION_BREAK, 0);
            Wisp.getWorld.playEffect(loc, Effect.SMOKE, 0);
            Wisp.getWorld.playEffect(loc, Effect.ENDER_SIGNAL, 0);
            Wisp.getWorld.playEffect(loc, Effect.POTION_BREAK, 1);
            Wisp.getWorld.playEffect(loc, Effect.POTION_BREAK, 2);
            Wisp.getWorld.playEffect(loc, Effect.POTION_BREAK, 3);
            Wisp.getWorld.playEffect(loc, Effect.POTION_BREAK, 4);
            i++;
        }
    }