I did some testing on my own and I I found the problem
In my block model JSON, i only had partially filled elements, ie
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay", "tintindex": 0, "cullface": "north" },
}
}
In this JSON i dont define things to put on the other faces of the block
This caused the texture to go bad, you need to have all of the faces filled in. I made a blank texture and used that for all of the sides I do not want an overlay on.
{ "parent": "block/block",
"elements": [
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "cullface": "up" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#base", "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#side", "cullface": "east" }
}
},
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "up" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay0", "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "east" }
}
},
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "up" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay0", "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "east" }
}
},
{ "from": [ 0, 0, 0 ],
"to": [ 16, 16, 16 ],
"faces": {
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "down" },
"up": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "up" },
"north": { "uv": [ 0, 0, 16, 16 ], "texture": "#overlay0", "cullface": "north" },
"south": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "south" },
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "west" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#blank", "cullface": "east" }
}
}
]
}
is my blockmodel now and it works, some texture references are incorrect but the gist is there.
thank you for the help