Add null check to Item#getRotatedModel
Format all code to work for IntelliJ