The Meaning of Life, the Universe, and Everything.
Join Date:
2/2/2018
Posts:
42
Location:
Canada
Minecraft:
mesaacr
Member Details
Working on making my own seasons pack, and would like to add snow-white coloring to spruce trees as if snow fell on it. As I've seen in other sources, spruce leaves have a tint of green, I understand that spruce along with birch are hardcoded in? I ended up using mcpatcher/or well allowed me to make birch leaves white without a tint of green, I tried copying/replicating the birch.png in mcpatcher and renaming it spruce.png to see if it'll do the same thing without a tint of green. It didn't work. If theres an easier correct way to change spruce leaves, would appreciate the help.
maybe Im skipping over something Im not seeing...idk, just started toying with this yesterday XD
Basically using the same mechanic/concept that the prismarine block uses to change textures.
Here are some sneak peak pics of my seasons attached:
The Meaning of Life, the Universe, and Everything.
Join Date:
2/2/2018
Posts:
42
Location:
Canada
Minecraft:
mesaacr
Member Details
Fixed it, can make spruce trees any color wooooo!
For others who don't know and want to, this tutorial helped. Thanks Uncle Jam
For an easy reading tutorial.
First of all this method seems to only work if you have Optifine. As I've tested with a vanilla version of 1.12.2
Step 1. create a folder called "mcpatcher" in your "resourcepackname"\assets\minecraft folder.
Step 2. create a folder called "colormap" inside that mcpatcher folder
Step 3. create a folder called "custom" inside the colormap folder
Step 4. create a .png file thats 256x256 pixels, make it white, then save it as anything you like, but if you plan to change many foliage/plant colors, although I recommend naming it something like "foliagecolor.png"
Step 5. place the [your png file name].png file into the customs folder you created earlier.
Step 6. using notepad or any other text creating file, first thing in the note, write "format=grid" next line write "block=leaves" you can change "leaves" to anything like "reeds" or "waterlily" or "grass" to make those as any color you like, BUT since we want to really only change spruce leaves lets put "block=0018/1" instead. Take note you have to create a separate ".properties" file for each block like reeds or leaves or grass. Next write "source=./foliagecolor.png" done, now save as "[the name of the block you want to change].properties" but in this case "spruce.properties". If it says in the option below the filename when saving "save as .txt" change that to "all files" or if using notepad++ ".properties" and remove the .properties from the name above.
Step 7. Changing the actual block color. Find the block you'd like to custom color, in this case lets use the spruce leaves. Once you've found it, open the "leaves_spruce.png" leaf block with any pixel/image editor, I'll use paint.net as its easy and nice. You can either handpick your colors or you can change the hue and saturation, now if you picked the .png straight from the minecraft assets\blocks folder, it may be gray colored... you'll have to hand pick your own colors from here.
Once you are done coloring your block/in this case spruce leaves. save it in your resourcepack\assets\minecraft\textures\blocks folder.
This should work. Load up Minecraft and see for yourself. You might also realize oak and birch leaves along with grass may be gray, cause the white colored 256x256 png file you made represents the colors of all biomes. Watch the tutorial video above to understand how to color the biomes using the grid format, just note if you place a spruce tree in a colored biome it will have a tint of that color. But if you'd like to change all the leaves colors and plant colors, then leave the white png file white.
alright so i watched the video, i don't get it. i read your instructions, i don't get it. so my idea is you make a foliagecolour png that is 256x256, you color it whatever color you want the spruce/birch to be and then you do a properties file?
Working on making my own seasons pack, and would like to add snow-white coloring to spruce trees as if snow fell on it. As I've seen in other sources, spruce leaves have a tint of green, I understand that spruce along with birch are hardcoded in? I ended up using mcpatcher/or well allowed me to make birch leaves white without a tint of green, I tried copying/replicating the birch.png in mcpatcher and renaming it spruce.png to see if it'll do the same thing without a tint of green. It didn't work. If theres an easier correct way to change spruce leaves, would appreciate the help.
maybe Im skipping over something Im not seeing...idk, just started toying with this yesterday XD
Basically using the same mechanic/concept that the prismarine block uses to change textures.
Here are some sneak peak pics of my seasons attached:
Things and stuff?
Fixed it, can make spruce trees any color wooooo!
For others who don't know and want to, this tutorial helped. Thanks Uncle Jam
For an easy reading tutorial.
First of all this method seems to only work if you have Optifine. As I've tested with a vanilla version of 1.12.2
Step 1. create a folder called "mcpatcher" in your "resourcepackname"\assets\minecraft folder.
Step 2. create a folder called "colormap" inside that mcpatcher folder
Step 3. create a folder called "custom" inside the colormap folder
Step 4. create a .png file thats 256x256 pixels, make it white, then save it as anything you like, but if you plan to change many foliage/plant colors, although I recommend naming it something like "foliagecolor.png"
Step 5. place the [your png file name].png file into the customs folder you created earlier.
Step 6. using notepad or any other text creating file, first thing in the note, write "format=grid" next line write "block=leaves" you can change "leaves" to anything like "reeds" or "waterlily" or "grass" to make those as any color you like, BUT since we want to really only change spruce leaves lets put "block=0018/1" instead. Take note you have to create a separate ".properties" file for each block like reeds or leaves or grass. Next write "source=./foliagecolor.png" done, now save as "[the name of the block you want to change].properties" but in this case "spruce.properties". If it says in the option below the filename when saving "save as .txt" change that to "all files" or if using notepad++ ".properties" and remove the .properties from the name above.
Step 7. Changing the actual block color. Find the block you'd like to custom color, in this case lets use the spruce leaves. Once you've found it, open the "leaves_spruce.png" leaf block with any pixel/image editor, I'll use paint.net as its easy and nice. You can either handpick your colors or you can change the hue and saturation, now if you picked the .png straight from the minecraft assets\blocks folder, it may be gray colored... you'll have to hand pick your own colors from here.
Once you are done coloring your block/in this case spruce leaves. save it in your resourcepack\assets\minecraft\textures\blocks folder.
This should work. Load up Minecraft and see for yourself. You might also realize oak and birch leaves along with grass may be gray, cause the white colored 256x256 png file you made represents the colors of all biomes. Watch the tutorial video above to understand how to color the biomes using the grid format, just note if you place a spruce tree in a colored biome it will have a tint of that color. But if you'd like to change all the leaves colors and plant colors, then leave the white png file white.
Things and stuff?
alright so i watched the video, i don't get it. i read your instructions, i don't get it. so my idea is you make a foliagecolour png that is 256x256, you color it whatever color you want the spruce/birch to be and then you do a properties file?
You can also take the birch_leaves.json from the models/block folder and change it's parent to "cube_all".
Also don't necropost, you can make your own thread and link this thread in there as reference.
Meow~
#F5F8FB
KittenKatja ♥