I have a block to which I will attach a gui to (probably, might do it a bit else with items dropping onto the block), and it looks a bit like a oven. So I created the .json and the blockstate file, but it only "looks" south.
So I took a look at the blockstate file for a furnace, as it rotates and I adjusted my blockstate file to this:
I don't really get the new system with json files, so if anybody has an idea on how to fix this, or any good tutorials about this json subject, I'm always open for suggestions!
I encountered another problem, the item itself in the inventory is not rotated properly. I attached an image to show what I mean(ignore the purple-black block)
. The button side is on the side the right blue arrow points to. So i tried changing the rotation values inside the model json for the inventory, but those didn't seem to change anything, I checked the item after each change :/
As I said, I'm not really good with this json system
I encountered another problem, the item itself in the inventory is not rotated properly. I attached an image to show what I mean(ignore the purple-black block)
. The button side is on the side the right blue arrow points to. So i tried changing the rotation values inside the model json for the inventory, but those didn't seem to change anything, I checked the item after each change :/
As I said, I'm not really good with this json system
You're altering the third person display, not the gui display.
Hello!
I have a block to which I will attach a gui to (probably, might do it a bit else with items dropping onto the block), and it looks a bit like a oven. So I created the .json and the blockstate file, but it only "looks" south.
So I took a look at the blockstate file for a furnace, as it rotates and I adjusted my blockstate file to this:
But that gave me purle-black error texture, appearing as a full cube.
So after the failure, i took a look at the model for the furnace too, and added "parent": "block_orientable",
I don't really get the new system with json files, so if anybody has an idea on how to fix this, or any good tutorials about this json subject, I'm always open for suggestions!
Any help is greatly appreciated!
Your problem is not in the .json. I think it is in your code. I also had that problem earlier
Quick fix though, look at all methods on this github in which you see the word FACING.
https://github.com/BlackHyp3r/GnC/blob/master/Ruster/Block
Alright, it works!
I had to change a bit on that class, but it works! Also, the model file mustn't contain a parent AND elements.
Thank you!
And if you have a tutorial in which json files are explained a bit, I would be incredibly thankful
I encountered another problem, the item itself in the inventory is not rotated properly. I attached an image to show what I mean(ignore the purple-black block)
. The button side is on the side the right blue arrow points to. So i tried changing the rotation values inside the model json for the inventory, but those didn't seem to change anything, I checked the item after each change :/
As I said, I'm not really good with this json system
Json tutorials? Depends... For blocks and items, I recommend MrCrayfish's tutorials. For a sounds.json and such, can't help you.
Ok, I'll have a look
You're altering the third person display, not the gui display.
Putting the CENDENT back in transcendent!