I am making a fun little mod for "practicing my skills on minecraft forge", but i have come to a little big problem, i cant get to render a custom model the way i do. I want it to rotate depending on which side of a block it was placed(kind of like a button or a lever) but i don´t have any idea of rendering or doing things like that. I've been trying things, looking other minecraft classes but i cant figure out how to do it. Can anyone help me please?
Block Class:
Tile Entity Class:
Renderer Class:
As you can see i´ve been trying a few things but neither of them have worked . Feel free to correct anything.
Also, I don´t know if this is the correct category, please let me know
Thanks!