I would like to use it to shade some textures instead of creating 16 textures per block that are subtly different shades of the same texture.
This, for example, seems to do nothing:
{
"textures": {
"face": "oddities:blocks/unob_block_a",
"particle": "blocks/stone"
}, "elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "texture": "#face", "cullface": "down", "tintindex": 255 },
"up": { "texture": "#face", "cullface": "up", "tintindex": 255 },
"north": { "texture": "#face", "cullface": "north", "tintindex": 255 },
"south": { "texture": "#face", "cullface": "south", "tintindex": 255 },
"west": { "texture": "#face", "cullface": "west", "tintindex": 255 },
"east": { "texture": "#face", "cullface": "east", "tintindex": 255 }
}
}
]
}
I've looked at the vanilla JSON files (they all have tintindex 0). Not much on the web. I've tried to trace it down in the vanilla code but it doesn't seem to be referenced directly. I started tracing through the various render-related classes and then thought to come here and ask.
I know there are other ways to do it, but has anyone gotten tintindex to do their bidding?
edit: added 1.8 tag