Seems no matter what you do, the tint_method setting ignores the alpha channel of the texture, causing the wrong regions of it to be tinted.
Example code.
{
"format_version": "1.19.80",
"minecraft:block": {
"description": {
"identifier": "V1:grass_slab"
},
"components": {
"minecraft:loot": "loot_tables/grass_slab.json",
"minecraft:material_instances": {
"bottom": {
"texture": "grass_bottom",
"render_method": "opaque"
},
"side": {
"texture": "grass_slab_side",
"render_method": "opaque",
"tint_method": "grass"
},
"top": {
"texture": "grass_top",
"render_method": "opaque",
"tint_method": "grass"
}
},
"minecraft:geometry": "geometry.customslab",
"minecraft:selection_box": {
"size": [
16,
8,
16
],
"origin": [
-8,
0,
-8
]
},
"minecraft:collision_box": {
"size": [
16,
8,
16
],
"origin": [
-8,
0,
-8
]
}
}
}
}
Screenshot of what happens in attachments. As you can see, the dirt is tinted when it shouldn’t be.
The texture being used is the stock minecraft grass texture.
ie: "grass_slab_side": { "textures": [ "textures/blocks/grass_side" ] },
Attachments
Comments 3
For issues with the addon system we need you to attach a sample pack that can be used to reproduce the issue. Please always clearly state both Expected and Observed results.
Daytime picture to make it more obvious.
[media]