Hello everyone, those who understand the creation of resource packs, please tell me how to make variable block textures, I can’t find anything about this in Google or YouTube.
6
- Go to your resource pack, then go to assets, then minecraft, then to models, then blocks, click on a file, let's go with the iconic cobblestone, then copy and paste it.
- Rename it into Cobblestone1. Then go edit it with something like Textedit and rename minecraft:block/cobblestone to minecraft:block/cobblestone1.
- Make another texture of the cobblestone block and put it into the textures, you know what I mean.
- Then exit the block folder, then exit models, go to blockstates, find cobblestone, then type something like this:
- {
"variants": {
"":[ { "model": "block/cobblestone" },
{ "model": "block/cobblestone1" }
]
}
} - Then, you're done. If you go to your game and use the resource pack, it will show 2 cobblestone textures. You can even do more textures on it, cobblestone2, cobblestone3, cobblestone4, 5, 6, 7, and on and on. It works for every other block in the game, sometimes a slightly altered version. You'll figure it out. If it doesn't work then I'm all out of ideas.
Variated blocks, as in different/randomized bookshelves? You can download that off vanilla tweaks and look into the pack to find out how its done. Thats the best advice I have.
oh yeah that's the easier option.
do you mean connected textures or animated blocks or what do you mean exactly?!
