Hello Aternos again!
I found this mod called Wizardry Mod it adds spells into the game.
It is kind of like ars magica 2 but it is made for 1.12.1 and 1.12.2. It has a functional spell system,
and has many items and structure. Like one which lets you phase through blocks.
There is also
Embers and Embers Rekindled which adds Dwarven Themed Magic/tech.
It has things like alchemy and ore doubling.
And lastly
Roots which adds Druidic magic. It adds wands and spells,
and ways to summon creatures, create special tools n armor.
There are various books and structures.
Roots and Roots Classic