Minecraft Blogs / Tutorial

How To Change Double Slab Textures

  • 7,922 views, 7 today
  • 55
  • 50
  • 22
exsilit's Avatar exsilit
Level 72 : Legendary Caveman
312
How To Change Double Slab Textures

Changing the textures of double slabs gives you the possibility of adding new textures to the game without removing others as the default double slab looks just like the full block version. Of course, you can use this for everything you want.

Basic usage
I added variants of some existing blocks when I was testing this. This way you have much more possibilities for building. The only negative points are that you lose the freedom to just spam click slabs for a structure with the same texture and that placing the re-textured double slab takes two right clicks.

The following picture was taken using the resource pack I made for testing.

How To Change Double Slab Textures
Inspiration
If you are more experienced with modeling you could also use these "free“ texture spots for custom models. Here are some inspiring models other people did.

How To Change Double Slab Textures
Reddit post by 7imekeeper about custom barrels and crates: https://www.reddit.com/r/Minecraft/comments/2fogih/crates_barrels_resource_pack_modification_to/



Reddit post by Moesh about three-step stairs: https://www.reddit.com/r/Minecraft/comments/2hsb6x/i_spent_all_night_creating_new_stair_models_and/
Instructions
Changing the double slab textures works in 1.8 and 1.9 the same way. I didn’t test it in other versions but I reckon it at least works in 1.7 and 1.10 too.

Normally a double slab block would just grab the full block texture. That’s defined in the respective blockstate file. There is such file for every existing block. So everything you would have to do to change the texture of a double slab is to change the place it gets its texture from. For that, you will need to redirect the blockstate to a different model.

The blockstate file of a block has to be called the way the developers called it because it gets addressed with this name in the source code. I just grabbed the respective blockstate file from a folder with all default resource pack files when I needed it. This way you don’t have to guess the file name. Most times it follows the pattern "block name_double_slab“ but oak plank double slabs, for example, are "oak_double_slab“. That’s why an extracted default resource pack makes finding the right names of the blockstate files easier.

If you don’t already have one you can just download it here. These links are provided by myself, not by a third party.

1.8: http://www.mediafire.com/download/p4c2yb9m795tm3j/Default+Resource+Pack+1.8.zip

1.9: http://www.mediafire.com/download/ehhrs4eg4jcbper/Default+Resource+Pack+1.9.zip

Alternatively, you can extract the default resources yourself. This blog shows a quick and easy way of doing it: http://www.planetminecraft.com/blog/the-default-resource-pack-161/

After that, you can build the folder structure of your own resource pack. Under "assets“ in the "minecraft“ folder of your resource pack, you will need to have one folder named "blockstates“ and one named "models“ as well as the "textures“ folder.



A blockstate file can be opened for example with Microsoft Notepad. It will be looking like this.



All you’ll now have to do is to change the model addressed as "normal“ to the name of your model - this can be whatever you want – and, if not already there, to add a path for the full block texture as "all“. For the two examples I used, these changes would look like that.



The next step is creating the model you’ve addressed here. For that, you just create a new file in Microsoft Notepad or whichever program you used before. For my examples, I’m using the normal cube model which is also used for the full block. You define this by addressing the model "cube_all“ under "parent“. Then you only have to define the texture that should get used. It can have any name you want. Just make sure your texture file really has the name you are addressing. You do that by addressing the texture’s name under "all“. In this case, it will be saved in the "blocks“ folder.



The place this file has to be saved in is a folder called "block“ in the "models“ folder. Create that folder and then save the file with the suffix ".json" and change the selection of "Save as type“ to "All Files“.



As you are already at it, also create a folder called "blocks“ in your "textures“ folder and paste the texture you want to use in there.



That’s everything! Now you can start your game, select your texture pack and have a look how your texture looks ingame.
Additional Stuff
Two more textures you could add and which is a shame the developers didn’t think of adding are textures for acacia and dark oak leaves. Default they are the same as oak leaves.


If you want to use any textures I’ve shown you here yourself, I could upload my personal resource pack to Planet Minecraft. There is even more stuff in it. Just tell me if anyone has an interest in it.
I'm happy to help you out if you have any questions!
Tags

Create an account or sign in to comment.

1
06/30/2017 9:35 pm
Level 1 : New Miner
Aberwag
Aberwag's Avatar
Really nice tutorial! I've been able to change the acacia and spruce double slab texture to a different one, but the dark oak remains the same. Do you have any idea about what may be the cause? I'd really appreciate the help m8.
1
07/03/2017 8:35 pm
Level 72 : Legendary Caveman
exsilit
exsilit's Avatar
Thank you! Sorry, with so few information I have no idea what the cause could be. I'd had to look into it myself. Maybe you used a wrong file name at some place. I know how fustrating it can be figuring these things out. So, good look! And thanks again. :)
1
04/07/2017 6:37 pm
Level 1 : New Crafter
Creeper301+
Creeper301+'s Avatar
This will be useful in my 3D resource pack
1
04/08/2017 12:27 pm
Level 72 : Legendary Caveman
exsilit
exsilit's Avatar
I'm curious to see what you will do with it. Glad it helps. :)
1
03/06/2017 11:25 am
Level 1 : New Miner
PeaceHope
PeaceHope's Avatar
This was very useful!
1
03/08/2017 1:14 pm
Level 72 : Legendary Caveman
exsilit
exsilit's Avatar
Nice of you to say that. ;)
1
09/01/2016 3:48 pm
Level 31 : Artisan Blockhead
Javijj17
Javijj17's Avatar
Awesome!Can you give a download link for the textures you used?
1
11/14/2016 4:57 pm
Level 72 : Legendary Caveman
exsilit
exsilit's Avatar
You'll find a download link in the tutorial.
1
11/14/2016 7:33 pm
Level 31 : Artisan Blockhead
Javijj17
Javijj17's Avatar
There's no link for that.But I noticed that in the bottom says you could upload your personal resource pack with the textures you used.Could you upload it please?
1
02/22/2017 11:11 am
Level 1 : New Miner
surinam
surinam's Avatar
*push*
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome