minecraft model rotate on direction placed
I am sure it has been somewhere already answered, I just couldn't find any good answers. I am trying to make a model that rotates based on which direction you place it. For example stairs, if you put it on south it is facing south etc.
Is it possible to make a model with this behavior on block like stone or must it me block with these behaviors already set like stairs?
As you can see on the image below, the stairs can be placed, and the model will change direction based of how you place them. I am asking if this is possible to make with non-orienting block like stone, dirt etc.

Pictures about "minecraft model rotate on direction placed"



WorldEdit Guide #3 - Advanced Rotating and Scaling
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Nothing Ahead, Andrea Piacquadio, Andrea Piacquadio, Hadi Slash
