This is the code for Storm Weaver mod. Feel free to try and use it to learn, although it's not well documented and a bit messy.
If one would like to use this code directly as a base, please credit me! I am no longer able to add content or update the mod; and so anyone who would like to try to do so may.