Made the code look slightly nicer.
Added a shadow resistance potion.
Added support for dimensions.