This should solve your problem once and for all: https://forums.bukkit.org/threads/change-the-direction-of-a-sign.31582/
Please provide your new code.
EDIT: Could you please post only the relevant parts this time please?
Could you please provide your current code? I'll give you an example with it. :D
P.S. And no, it's not that you're bad at explaining - I'm...
Well, you define the block (chest) and the blockstate at the start, then modify it. I'm not really sure what you're trying to ask here:
Thanks, I'll try that. ;)
That's breaking the whole purpose of this. :(
Judging from what I briefly read, I think you can use the following code to do what you're aiming to do:
Block block = etc.
Have a look at these:
He means to create a BlockState that affects the chest and edit its direction using the setDirection() method.
Try not to double post please. ;)
Nevermind guys, well, when I tested the code, I get a NullPointerError:
Sorry for not being specific enough. The userdata is simply a YAMLcreated for each player. Also, I'll post the 'method' as soon as I have...
That won't work in my case unfortunately.
That's the whole problem here I believe. :(
I have my own separate method that requires a Player variable. :(
Called examples. :D
I need to do other things such as sending messages too though. :(
Separate names with a comma.