What is the difference between a RotationDirection an EnumFacing?
I'll be honest...
I wrote the RotationalDirection Interface in an attempt to recreate 1.7.10's ForgeDirection methods.
I'd only just started with 1.8.9 modding seriously at that point and was confused by the new system. I'm actually a lot better with EnumFacing now!
If the methods don't work then no biggy. I'll remove them in a future update. I just wanted to see if the functionality could be recreated for an easier entry into 1.8.9. At the very least, it's a great reference sheet as to how the directions work in the 3 axes! Great for someone just starting out! (That was the idea at least)
The RotationalDirection enum file is used by the energy methods to declare sides energy can connect to and from. At this point, it is its only use in the API.
If you're more comfortable with EnumFacing than I am then by all means feel free to change the interfaces to reflect EnumFacing methods instead!
I'm also currently working on a tech mod that will use this API as its main power source so when I'm happy that all the methods are working and can be implemented well within a mod, I'll move it away from Alpha builds.
EDIT: I'm currently rewriting RotationalDirection to be part of a utility class that expands upon EnumFacing. I've made this decision after trying to create wrenchable blocks using the new IWrenchable interface I added in 1.1. I think this will prove to be better in the long run and provide some of the old methods like int x, int y and int z.
Take a look at the source-code for my Rotator Wrench tool in Power Advantage for your wrenchable stuff. I may have already done the hard work for you.
As for general advice in modding 1.8.x, the other major change aside from the block rendering overhaul is that Minecraft now uses a lot of techniques from Functional Programming. That's why, for example, the BlockPos class does not let you change the X, Y, or Z coordinates but has methods like up(int n) that return a new BlockPos at a different coordinate. Techniques like this improve Minecraft performance at the expense of slightly increasing its RAM usage.
Rollback Post to RevisionRollBack
My mods: Base Metals, Power Advantage, Steam Advantage, Electric Advantage, Minecraft Mineralogy, Dr. Cyano's Lootable Bodies, Dr. Cyano's Wonderful Wands & Wizarding Robes