I've followed the instructions laid out in this tutorial, and everything works, except that when I break my block the destruction particles are colored as well. The base (or stone) texture itself is not colored, but these particles are, leading me to assume that the entire block is being colored. How do I make it so only the overlay is colored, and not the whole block? Do I have to manipulate the tintIndex more?
ParticleDigging#multiplyColor uses the colour multiplier for tint index 0. If you don't want the particles to be coloured, use a different tint index in your model and IBlockColor.
Rollback Post to RevisionRollBack
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
Return -1 from IBlockColor#colorMultiplier as the default, this white (i.e. RGB = 255, 255, 255).
Rollback Post to RevisionRollBack
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
I've followed the instructions laid out in this tutorial, and everything works, except that when I break my block the destruction particles are colored as well. The base (or stone) texture itself is not colored, but these particles are, leading me to assume that the entire block is being colored. How do I make it so only the overlay is colored, and not the whole block? Do I have to manipulate the tintIndex more?
ParticleDigging#multiplyColor uses the colour multiplier for tint index 0. If you don't want the particles to be coloured, use a different tint index in your model and IBlockColor.
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
How do I return the block's default color then? In my IBlockColor I have the following:
The color still isn't on point.
Return -1 from IBlockColor#colorMultiplier as the default, this white (i.e. RGB = 255, 255, 255).
Chisel Facades: For all your decorative pipe-hiding needs.
Please don't PM me to ask for help or to join your mod development team. Asking your question in a public thread preserves it for people who are having the same problem in the future. I'm not interested in developing mods with people.
Awesome that fixed it! Thanks a lot!