5
Why doesn't this blockstate code work?
I am trying to make leaves bushier, and I have everything in the right directory with random variants. What I have done so far is made 5 different leaf models, and made oak_leaves1, 2, 3, 4 and 5.
Then in my blockstates, I have made and oak_leaves.json folder with the following code:
{ "variants": { "": [ { "model": "block/oak_leaves1" }, { "model": "block/oak_leaves2" }, { "model": "block/oak_leaves3" }, { "model": "block/oak_leaves4" }, { "model": "block/oak_leaves5" }, { "model": "block/oak_leaves1", "y": 90 }, { "model": "block/oak_leaves2", "y": 90 }, { "model": "block/oak_leaves3", "y": 90 }, { "model": "block/oak_leaves4", "y": 90 }, { "model": "block/oak_leaves5", "y": 90 }, { "model": "block/oak_leaves1", "y": 180 }, { "model": "block/oak_leaves2", "y": 180 }, { "model": "block/oak_leaves3", "y": 180 }, { "model": "block/oak_leaves4", "y": 180 }, { "model": "block/oak_leaves5", "y": 180 }, { "model": "block/oak_leaves1", "y": 270 }, { "model": "block/oak_leaves2", "y": 270 }, { "model": "block/oak_leaves3", "y": 270 }, { "model": "block/oak_leaves4", "y": 270 }, { "model": "block/oak_leaves5", "y": 270 } ] }}
However, this doesn't seem to work.
If anyone can help me, that would very much be appreciated.
Also, the json blockstate has been compacted in this thread which I can't fix, but it is supposed to be seperated with lines when needed.
Then in my blockstates, I have made and oak_leaves.json folder with the following code:
{ "variants": { "": [ { "model": "block/oak_leaves1" }, { "model": "block/oak_leaves2" }, { "model": "block/oak_leaves3" }, { "model": "block/oak_leaves4" }, { "model": "block/oak_leaves5" }, { "model": "block/oak_leaves1", "y": 90 }, { "model": "block/oak_leaves2", "y": 90 }, { "model": "block/oak_leaves3", "y": 90 }, { "model": "block/oak_leaves4", "y": 90 }, { "model": "block/oak_leaves5", "y": 90 }, { "model": "block/oak_leaves1", "y": 180 }, { "model": "block/oak_leaves2", "y": 180 }, { "model": "block/oak_leaves3", "y": 180 }, { "model": "block/oak_leaves4", "y": 180 }, { "model": "block/oak_leaves5", "y": 180 }, { "model": "block/oak_leaves1", "y": 270 }, { "model": "block/oak_leaves2", "y": 270 }, { "model": "block/oak_leaves3", "y": 270 }, { "model": "block/oak_leaves4", "y": 270 }, { "model": "block/oak_leaves5", "y": 270 } ] }}
However, this doesn't seem to work.
If anyone can help me, that would very much be appreciated.
Also, the json blockstate has been compacted in this thread which I can't fix, but it is supposed to be seperated with lines when needed.
3
y'all to everyone here saying ANYTHING about code, this is json, not code
i dont know coding
sorry
lol
sorry
lol
it's okay
