Topic category: Help with Minecraft modding (Java Edition)
I'm recreating the original The Legend of Zelda, and I have a minor issue with flammable bushes, which has turned into a minor issue with matching up colors.
My original problem was that I needed dead bushes for parts of the Overworld map, so I used MCreator to make a "Dead Leaves" block. This works very well, except that I cannot make the dead bushes flammable (which is gonna give me trouble when I get to the Western end of the map where there are rooms hidden below certain burnable dead bushes).
There are also live, green bushes which have to be burned to reveal more hidden rooms. I had been trying to figure out how to do that without also having the surrounding bushes burn away when I suddenly realized that MCreator (seemingly) only allows me to make fireproof leaves.
And so, I created a Fireproof Oak Leaves block! The new problem is, I cannot for the life of me get their green to match the Oak Leaves block in MC. I even extracted the Oak Leaves texture from MC itself, took a screenshot of the Oak Leaves block inside MC, loaded both into Photoshop side-by-side, and manually color-sampled from the screenshot and colorized the texture pixel-by-pixel.
Somehow, my custom block still renders with a slightly different green color in-game. Any ideas how to get the two blocks to have the same colors?
I have no idea if you can put colourmaps to blocks.
1. I think that in the previous versions of MCreator there was an option for making blocks flammable. I don't know if using "wood", "leaves" or "cloth" as block material makes them flammable.
2. In vanilla minecraft some blocks depend on the color of the biome. Grass, for example, in the plains is green, in the swamp is dark green, in the savanna is brown-green... The same is for leaves, tall grass and some plants.
These textures in the file directory are white and change based on the biomes color.
So making a block having exactly the same texture of grass, leaves, tall grass etc. isn't possible in MCreator because you can't make a block change the color based on the biome.
I hope they fix this soon because it's weird to see green bushes in a savanna, swamp or a custom biome with strange colors.
try using procedures to chek if the player is right clicking on the bush with flint and steel and then use the add block and select the fire block so it places fire the to the side of the bush
Well, yeah, I understand about the game coloring the greyscale textures according to the biome, but shouldn't manually coloring the texture I use in MCreator according to those exact colors in the screenshot match the game if the biome never changes?
If you want, you actually can make it fully dynamic depending on the biome in the way grass/leaves do. It is kinda tricky, but there is a method called registerBlockColorHandler() in BlockColors class, that you can use right for that.