mojira.dev
MC-307299

The tint index no longer applies to certain model parts

The 26.1 change to allow transparent textures has seemingly broken the tint index applying to desired block model parts. In the screenshot example, the protruding parts of my oak leaves model are not color green, despite the model applying tint index to those parts. This is not an issue in 1.21.11.

Oak leaves model:

{
"parent": "block/block",
"texture_size": [64, 64],
"textures": {
"particle": "#all"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#all", "cullface": "north", "tintindex": 0},
"east": {"uv": [0, 0, 4, 4], "texture": "#all", "cullface": "east", "tintindex": 0},
"south": {"uv": [0, 0, 4, 4], "texture": "#all", "cullface": "south", "tintindex": 0},
"west": {"uv": [0, 0, 4, 4], "texture": "#all", "cullface": "west", "tintindex": 0},
"up": {"uv": [0, 0, 4, 4], "texture": "#all", "cullface": "up", "tintindex": 0},
"down": {"uv": [0, 0, 4, 4], "texture": "#all", "cullface": "down", "tintindex": 0}
}
},
{
"name": "top",
"from": [0.25, 16, -3.75],
"to": [0.25, 23, 26.25],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [0.25, 14, 0.25]},
"faces": {
"east": {"uv": [7.75, 8.25, 0.25, 10], "texture": "#all", "cullface": "up", "tintindex": 1},
"west": {"uv": [0.25, 8.25, 7.75, 10], "texture": "#all", "cullface": "up", "tintindex": 1}
}
},
{
"name": "top",
"from": [10.15, 16, -6.15],
"to": [10.15, 23, 23.85],
"shade": false,
"rotation": {"angle": -45, "axis": "y", "origin": [10.15, 14, 5.85]},
"faces": {
"east": {"uv": [7.75, 8.25, 0.25, 10], "texture": "#all", "cullface": "up", "tintindex": 1},
"west": {"uv": [0.25, 8.25, 7.75, 10], "texture": "#all", "cullface": "up", "tintindex": 1}
}
},
{
"name": "down",
"from": [0.25, -7, -3.75],
"to": [0.25, 0, 26.25],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [0.25, 14, 0.25]},
"faces": {
"east": {"uv": [7.75, 14, 0.25, 15.75], "texture": "#all", "cullface": "down", "tintindex": 1},
"west": {"uv": [0.25, 14, 7.75, 15.75], "texture": "#all", "cullface": "down", "tintindex": 1}
}
},
{
"name": "down",
"from": [10.15, -7, -6.15],
"to": [10.15, 0, 23.85],
"shade": false,
"rotation": {"angle": -45, "axis": "y", "origin": [10.15, 14, 5.85]},
"faces": {
"east": {"uv": [7.75, 14, 0.25, 15.75], "texture": "#all", "cullface": "down", "tintindex": 1},
"west": {"uv": [0.25, 14, 7.75, 15.75], "texture": "#all", "cullface": "down", "tintindex": 1}
}
},
{
"name": "side",
"from": [0.25, 0, 22.25],
"to": [0.25, 16, 26.25],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [0.25, 14, 0.25]},
"faces": {
"east": {"uv": [7.75, 10, 6.75, 14], "texture": "#all", "tintindex": 1},
"west": {"uv": [6.75, 10, 7.75, 14], "texture": "#all", "tintindex": 1}
}
},
{
"name": "side",
"from": [0.25, 0, -3.75],
"to": [0.25, 16, 0.25],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [0.25, 14, 0.25]},
"faces": {
"east": {"uv": [1.25, 10, 0.25, 14], "texture": "#all", "tintindex": 1},
"west": {"uv": [0.25, 10, 1.25, 14], "texture": "#all", "tintindex": 1}
}
},
{
"name": "side",
"from": [10.15, 0, 19.85],
"to": [10.15, 16, 23.85],
"shade": false,
"rotation": {"angle": -45, "axis": "y", "origin": [10.15, 14, 5.85]},
"faces": {
"east": {"uv": [7.75, 10, 6.75, 14], "texture": "#all", "tintindex": 1},
"west": {"uv": [6.75, 10, 7.75, 14], "texture": "#all", "tintindex": 1}
}
},
{
"name": "side",
"from": [10.15, 0, -6.15],
"to": [10.15, 16, -2.15],
"shade": false,
"rotation": {"angle": -45, "axis": "y", "origin": [10.15, 14, 5.85]},
"faces": {
"east": {"uv": [1.25, 10, 0.25, 14], "texture": "#all", "tintindex": 1},
"west": {"uv": [0.25, 10, 1.25, 14], "texture": "#all", "tintindex": 1}
}
},
{
"name": "awning",
"from": [0, 11.35, -3.15],
"to": [16, 11.35, 4.85],
"shade": false,
"rotation": {"angle": -22.5, "axis": "x", "origin": [0, 0.5, 1.85]},
"faces": {
"up": {"uv": [2, 8.25, 6, 10.25], "texture": "#all", "cullface": "north", "tintindex": 1},
"down": {"uv": [6, 8.25, 2, 10.25], "rotation": 180, "texture": "#all", "cullface": "north", "tintindex": 1}
}
},
{
"name": "awning",
"from": [12.4, 17.6, 0],
"to": [20.4, 17.6, 16],
"shade": false,
"rotation": {"angle": -22.5, "axis": "z", "origin": [-0.9, 6.75, 0]},
"faces": {
"up": {"uv": [5.75, 10, 7.75, 14], "texture": "#all", "cullface": "east", "tintindex": 1},
"down": {"uv": [7.75, 10, 5.75, 14], "rotation": 180, "texture": "#all", "cullface": "east", "tintindex": 1}
}
},
{
"name": "awning",
"from": [0, 14.45, 11.7],
"to": [16, 14.45, 19.7],
"shade": false,
"rotation": {"angle": 22.5, "axis": "x", "origin": [0, 3.35, 6.65]},
"faces": {
"up": {"uv": [2, 13.75, 6, 15.75], "texture": "#all", "cullface": "south", "tintindex": 1},
"down": {"uv": [6, 13.75, 2, 15.75], "rotation": 180, "texture": "#all", "cullface": "south", "tintindex": 1}
}
},
{
"name": "awning",
"from": [-2.6, 8.2, 0],
"to": [5.4, 8.2, 16],
"shade": false,
"rotation": {"angle": 22.5, "axis": "z", "origin": [-5.9, -2.65, 0]},
"faces": {
"up": {"uv": [0.25, 10, 2.25, 14], "texture": "#all", "cullface": "west", "tintindex": 1},
"down": {"uv": [2.25, 10, 0.25, 14], "rotation": 180, "texture": "#all", "cullface": "west", "tintindex": 1}
}
}
]
}

Attachments

Comments 3

Thank you for helping us improve Minecraft! We saved your files:

[media]

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version History – Snapshot Version History – The official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Tint index 1 was never meant to be supported. Only tint index 0 is valid for leaves

SeaOfPixels

(Unassigned)

Confirmed

26.1.1, 26.2 Snapshot 1, 26.2 Snapshot 7

Retrieved