As the title says, I am wondering how to rotate blocks. I have a plugin right now that is 99% done, all it needs is to rotate the blocks. The blocks I need to rotate are logs. I need them to rotate from the upright position like they are in trees, to the sideways position where the "inner" wood that is visible is only visible on the sides. If you need more information please let me know, I have spent the past hour on this and looked at all the documentation I could, googled it for a long time and nothing. Thanks.
The way I'm having it place the blocks is all server side with a setType at the location. If I'm not mistaken I can only use the setDurability if the item would be from my hand?
https://github.com/Bukkit/Bukkit/blob/master/src/main/java/org/bukkit/material/Tree.java#L104 Doesn't seem like it's properly updated, though... stares at bukkit devs