Mojang/Minecraft-API — pull request #9 by ziliss (2012-08-16 10:34:25+00:00)
Title: Shorter getRelativeFacing() + bugfix

Shorter code, less conditions, should run a bit faster.
Previous code had a bug: if direction was UNDEFINED and facing was UP or DOWN, it didn't returned Facing.UNDEFINED.