5

Why doesn't this blockstate code work?

sniffercraft34 10/27/24 6:29 am history
213
11/12/2024 10:50 am
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.
Posted by
sniffercraft34
Level 78 : Legendary Mythical Sniffer
594

  Have something to say?

JoinSign in

3

Spigey
11/12/2024 7:55 am
Level 15 : Journeyman System
y'all to everyone here saying ANYTHING about code, this is json, not code
2
DoreoTheOreo
11/12/2024 7:25 am
He/Him • Level 46 : Master Jerry Dragonborn
i dont know coding
sorry
lol
3
sniffercraft34
11/12/2024 10:50 am
He/Him • Level 78 : Legendary Mythical Sniffer
it's okay
4

Welcome