I'm trying to get my block to rotate so that the card field faces the player who placed it properly. (see images) I've been going back and forth and cant seem to get it to work. Can anyone tell me what I'm doing wrong?
I put the code on Pastebin cause it was longer than I wanted to format with the code block thing. Also, some of my code is copy/paste mess. Once I fix the problem I'll fix that
I'm trying to get my block to rotate so that the card field faces the player who placed it properly. (see images) I've been going back and forth and cant seem to get it to work. Can anyone tell me what I'm doing wrong?
I put the code on Pastebin cause it was longer than I wanted to format with the code block thing. Also, some of my code is copy/paste mess. Once I fix the problem I'll fix that
Here is my blocks class: https://pastebin.com/QtVqBvku
My block model: https://pastebin.com/jRJHC0sr
My blockstates file: https://pastebin.com/EEUE1Mq8
This is what it should look like regardless of the direction:
https://imgur.com/s1gVZC2
This is what it looks like when placed East/West:
https://imgur.com/VxaZNha
Sorry for the awkward formatting, I'm not quite sure how to properly format a post here.
I figured it out! I didnt override this method: