1

In need of Texture Variation/JSON assistance

doublemint90's Avatar doublemint901/19/19 6:11 pm
1 emeralds 167 3
1/20/2019 11:55 am
doublemint90's Avatar doublemint90
I'm confused. Not because this is particularly hard, but more because the variants for vines are working, but nothing else (cobblestone, cracked stone bricks, dirt, grass, grass block, oak leaves, sand, and stone) is.


The following is what my JSON looks like for the vines:

{
"variants": {
"east=true": [
{ "model": "vine", "weight": 25 },
{ "model": "vine1", "weight": 25 },
{ "model": "vine2", "weight": 25 },
{ "model": "vine3", "weight": 25 },
{ "model": "vine4", "weight": 15 },
{ "model": "vine5", "weight": 25 },
{ "model": "vine6", "weight": 15 },
{ "model": "vine7", "weight": 25 },
{ "model": "vine8", "weight": 25 },
{ "model": "vine9", "weight": 25 },
{ "model": "vine10", "weight": 15 },
{ "model": "vine11", "weight": 25 }
],
"north=true": [
<same as above>
],
"south=true": [
<same as above>
],
"up=true": [
<inverted of above>
],
"west=true": [
<same as original>
]
}
}


The following is what my cracked stone bricks JSON looks like (and is a good model for all the other JSON):

{
"variants": {
"normal": [
{ "model": "cracked_stone_bricks", "weight": 35 },
{ "model": "cracked_stone_bricks1", "weight": 35 }
]
}
}

Anyone have any ideas on how to get it to work out for me, I'm updating/cleaning up a fairly old resource pack I liked so downloading anew isn't an option.
Posted by doublemint90's Avatar
doublemint90
Level 1 : New Miner
0

Create an account or sign in to comment.

3

1
01/19/2019 7:13 pm
Level 69 : High Grandmaster Artist
oakar258
oakar258's Avatar
Compare this blockstate with vanilla blockstate of version you're updating pack for - maybe you will have to change state name to " " instead of "normal" if it's for 1.13.
1
01/20/2019 11:47 am
Level 1 : New Miner
doublemint90
doublemint90's Avatar
Thanks, some were supposed to be " " instead. This led me to the realization that I need custom model JSON for each variant (am using blockbench), and from there the blockstate JSON randomizes what model it shows with no issue. With that and a bit of internet help for particles I have the blocks working perfectly...

Only issue now is that what shows up in my toolbar/inventory is a singular 2D face. Any idea how to fix that?
1
01/20/2019 11:55 am
Level 1 : New Miner
doublemint90
doublemint90's Avatar
Nevermind! Just had to add "parent": "block/block", to my JSON and it shows up just fine in inventory and hand!
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome