Added some method to the Location class and added gravity to EntityItem