1

Block Variants (resourcepack)

Jnaejnae's Avatar Jnaejnae3/22/15 1:35 am
1 emeralds 313 5
3/26/2015 9:46 am
Jnaejnae's Avatar Jnaejnae
With 1.8, you can edit your block state and model jsons to make a block randomly select from different textures. I want my stone to just have two variants so its less repetitive. The name for the texture of my variant is "stone_a"

Blockstate json
Click to reveal
{
"variants": {
"normal": [
{ "model": "stone" },
{ "model": "stone_a" }
]
}
}


Model json
Click to reveal
{
"parent": "block/cube_all",
"textures": {
"all": "blocks/stone"
}
}


It may be because I dont have that spacing with the brackets, I actually forgot how to (brainfart), How do you do those big spaces for coding again. It may be the problem but its also likely its not the case. Anyone with experience pls help. Many thanks
Posted by Jnaejnae's Avatar
Jnaejnae
Level 38 : Artisan Architect
268

Create an account or sign in to comment.

5

1
03/26/2015 9:46 am
Level 38 : Artisan Architect
Jnaejnae
Jnaejnae's Avatar
can anyone help?
1
03/22/2015 4:12 pm
Level 55 : Grandmaster Dragon
Skitto493
Skitto493's Avatar
You said the texture was named stone_a, BUT you've typed "model" into the code, so its looking for a model, not the texture.
1
03/22/2015 6:18 pm
Level 38 : Artisan Architect
Jnaejnae
Jnaejnae's Avatar
btw ur texture packs are pretty cool
1
03/22/2015 6:16 pm
Level 38 : Artisan Architect
Jnaejnae
Jnaejnae's Avatar
I made a model, with the texture in the model. So it should work anyways. Can you give me an example how to replace the model with the texture. tanks
1
03/22/2015 3:11 pm
Level 38 : Artisan Architect
Jnaejnae
Jnaejnae's Avatar
Anyone?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome