Remove Deprecated Fields

I changed blockRegistry and itemRegistry to getBlockRegistry and getItemRegistry due to deprecation issues. Although I did not mean to I also modified a few imports/formatting changes.