Implement ability to push minecarts on curved rails

This is my first real code contribution to an open source project. I'm grateful for any advice!
Could you split this line up after the `||`?

Also, there should be spaces around every operation in that line, including `>=`, `&&`, `/`, `<=`, `<`, etc.