Closed Xterionix closed 6 hours ago
Would it help if you used this data?
That's just hardcoded vanilla sound paths, the material instance can point to a custom texture.
"minecraft:material_instances": {
"*": {
"ambient_occlusion": true,
"face_dimming": true,
"render_method": "alpha_test",
"texture": "some_name"
}
}
I want to check if some_name
is defined in the terrain_texture.json
.
All found texture atlasses end up atleast in diagnoser.getCache().resourcespack.textures.
Do no vanilla atlast is defined yet 🤔 , probably need to add those to the vanilla collection, and then create a function in the diagnosed to see if its an existing ID or not
Does diagnoser.getCache().resourcespack.textures
store which atlas the texture came from and the key in the atlas.json
?
It should
Alr. I'll look into this when I get the chance and resolve this and #165
Looked into this; keys from
diagnoser.getCache().textures
do include textures found from atlas files. Although, I'm not sure there's a way to differentiate between whether it was an atlas texture, and if it came fromterrain_texture.json
rather thanitem_texture.json
. Any ideas on what I should do?